Error when running SimMechanics model on Arduino Mega 2560
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaire
Steve
le 30 Jan 2015
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.
Réponses (0)
Voir également
Catégories
En savoir plus sur Arduino Hardware dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!