how can i do interface between matlab and opensim simulink without the error below ?

30 views (last 30 days)
i have error when I run the example built with matlab to interface with opensim , while the same example do it in other PC with no error!
I instillation : 2014b,2014a,2013a and same problem. 1) when i run : OpenSimCreateTugOfWarModel.m file , it is work with no error 2) but when i have to run : TugOfWar_CompleteRunVisualize.m to complete simulation i got these errors:
>> TugOfWar_CompleteRunVisualize Loaded model TugOfWar from file tug_of_war_muscles_controller.osim Error using TugOfWar_CompleteRunVisualize (line 38) Java exception occurred: java.lang.RuntimeException: SimTK Exception thrown at VisualizerProtocol.cpp:121: Error detected by Simbody method VisualizerProtocol::ctor(): Unable to spawn executable 'VisualizerGUI' from directories: c:\Program Files\MATLAB\R2014a\bin\win64\ C:\Program Files\Simbody\bin\ C:\Program Files\SimTK\bin\ Final system error was errno=2 (No such file or directory). (Required condition 'status == 0' was not met.)
at org.opensim.modeling.opensimModelJNI.Model_initSystem(Native Method)
at org.opensim.modeling.Model.initSystem(Model.java:179) please answer me ASAP PhD student Sahar

Answers (1)

Mritula C
Mritula C on 22 Mar 2019
Did you find the cause for this error?

Categories

Find more on Create Large-Scale Model Components in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!