Error while obtaining sizes from MEX S-function 'arduinodi​gitaloutpu​t_sfcn' in 'arduino_g​ettingstar​ted/Digita​l Output/Digital Output'.

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

回答(1 个)

Pradeep KS
Pradeep KS 2018-6-4
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 个评论
Varun-Chandra Reddy
Varun-Chandra Reddy 2022-11-29
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:

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 MATLAB Support Package for Arduino Hardware 的更多信息

产品


版本

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by