My Matlab program complains about not finding the geometry files *.vtp.
Is there a possibility to set the geometry path either by an environment variable in windows or by
a command in Matlab?
Maybe I have to edit OpenSim model file and use full pathnames for the vtp-files.
Thank you
Geometry files *.vtp not found in Matlab
- Martin Mössner
- Posts: 17
- Joined: Thu Jan 17, 2019 8:40 am
- Martin Mössner
- Posts: 17
- Joined: Thu Jan 17, 2019 8:40 am
Re: Geometry files *.vtp not found in Matlab
The thread "Interfacing matlab with opensim" brought me the solution.
In my case following code works:
In my case following code works:
Code: Select all
import org.opensim.modeling.*
p='c:\pgm\OpenSim40\Geometry';
ModelVisualizer.addDirToGeometrySearchPaths(p);
model=Model('myopensimmodel.osim');
Re: Geometry files *.vtp not found in Matlab
Hello Martin,
I too am unable to view the .vtp files on MATLAB. Could you link the thread that you have mentioned about so that I could refer it?
Thanks,
Raima Sen
I too am unable to view the .vtp files on MATLAB. Could you link the thread that you have mentioned about so that I could refer it?
Thanks,
Raima Sen