Error when running SimMechanics model on Arduino Mega 2560
1 回表示 (過去 30 日間)
古いコメントを表示
Hello, I am trying to run a Simmechanics model on an Arduino Mega 2560 however I get the following error message:
The call to realtime_make_rtw_hook, during the after_make hook generated the following error: The specified file "C:\Program Files\MATLAB\R2013a\toolbox\physmod\mech\lib\win64\mech" does not exist on the path.
After looking at my MATLAB toolbox path I found that the "mech" folder is under the "lib" directory instead of "win64". I have tried moving the folder but it seems to move it back when restarting MATLAB. Does anyone know how to fix this issue?
Thanks!
EDIT I was able to move the mech folder under the win64 directory but now get the following error:
Error in 'SM_0001_000S_FULL/GROUND1/RootGround': Initialization commands cannot be evaluated.
Caused by: Error in 'SM_0001_000S_FULL/GROUND1/RootGround/_mech_engine': Initialization commands cannot be evaluated. Error while obtaining sizes from MEX S-function 'mech_engine' in '#1')">SM_0001_000S_FULL/GROUND1/RootGround/_mech_engine/Block#1</a>'. Internal Error: A primary message table for module 74 was already registered with a differing collection of error messages.
1 件のコメント
Steve
2015 年 1 月 30 日
My comment may get removed but there is a way to use the arduino input to control movement of your solidworks model by using Labview instead of simmechanics. I say this just to help those who are in deep frustration like me.
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Arduino Hardware についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!