Error while obtaining sizes from MEX S-function 'arduinodigitaloutput_sfcn' in 'arduino_gettingstarted/Digital Output/Digital Output'.
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi
How can I fix the following error(ref screenshot) . I am using Matlab R2018a, Simulink Support Package for Arduino Hardware version 18.1.2.0
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/190933/image.jpeg)
2 commentaires
Réponses (1)
Pradeep KS
le 4 Juin 2018
In 18a, the Simulink Arduino support package is not using "arduinodigitaloutput_sfcn" mex file. I think there are files from older versions which are on the MATLAB path. Could you please run the below command and check from where the "arduinodigitaloutput_sfcn" mex file is getting loaded.
>> which arduinodigitaloutput_sfcn
Please post the output of the above command for further help.
6 commentaires
Varun-Chandra Reddy
le 29 Nov 2022
I got the same error on MSP430G2 launch pad. Werid thing is, I actually see the file. Its exactly where it says it is. Not sure why it complains that it can't find it. Here is the screenshot:
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!