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

9 次查看(过去 30 天)
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

回答(1 个)

Mritula C
Mritula C 2019-3-22
Did you find the cause for this error?

类别

Help CenterFile Exchange 中查找有关 Simulink 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by