# Geodesic Distance

**URL:** https://openep.discourse.group/t/geodesic-distance/179
**Category:** EP Workbench
**Created:** [22 September 2026 16:02 UTC](https://openep.discourse.group/t/geodesic-distance/179 "2026-09-22T16:02:16Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![waqas.ullah](https://avatars.discourse-cdn.com/v4/letter/w/ed655f/32.png) [@waqas.ullah](https://openep.discourse.group/u/waqas.ullah)
#### Post date: [22 September 2026 16:02 UTC](https://openep.discourse.group/t/geodesic-distance/179/1 "2026-09-22T16:02:16Z")

</div>

Hi Team

2 queries, easy one first: how do I measure the geodesic distance between 2 points using EP Workbench. On the MeshEditor I can use the geodesic cutter to show me a geodesic path between 2 points but it won’t tell me the path length

Second, trickier one. I can import a study into Matlab using importcarto\_mem and the output gets saved as a .mat file. When I then try and load this into EP Workbench it fails to load and the error in the command window is:

bench/settings.ini  
userdata/electric/ecgNames  
userdata/electric/electrodeNames\_bip  
userdata/electric/electrodeNames\_uni  
userdata/electric/names  
userdata/electric/tags  
userdata/notes  
Traceback (most recent call last):  
File “main.py”, line 865, in \_load\_openep\_mat  
File “openep\io\readers.py”, line 113, in load\_openep\_mat  
File “openep\io\readers.py”, line 91, in \_load\_mat  
IndexError: only integers, slices (`:`), ellipsis (`...`), numpy.newaxis (`None`) and integer or boolean arrays are valid indices
