MATLAB Answers

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

3 views (last 30 days)
Asha Dharan
Asha Dharan on 30 May 2018
Commented: Jayson Peters on 7 Mar 2020
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

Answers (1)

Pradeep KS
Pradeep KS on 4 Jun 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.
  5 Comments

Sign in to comment.

Products


Release

R2018a

Community Treasure Hunt

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

Start Hunting!