simulink block display string like "???"

1 view (last 30 days)
Bo on 23 Sep 2016
I inserted a "Analog Input" block from the Arduino Support from Simulink. However, the icon display a string like "???" which is showed below.
I couldn't figure out if after I read a related article
It seems that the Arduino support is something came from Mathworks that should not contain any commands that are not supported in the subsystem. Please help to solve this problem.

Answers (1)

Hamidreza Hoshyarmanesh
Hamidreza Hoshyarmanesh on 25 Mar 2019
Hey Bo,
Arduino AI block from Simulink support package looks like the one attached. If you have chosen the right block and port number and still have the same problem, probably the type of data you are reading with Arduino AI port is not a compatible analogue signal.
  1 Comment
Madhu Govindarajan
Madhu Govindarajan on 25 Mar 2019
The other possibility is that the support package installation did not go through properly. You can uninstall the support package and reinstall on a MATLAB instance that was opened with administrator access. To do this, right click on MATLAB icon and select Run as administrator.

Sign in to comment.


Find more on Simulink Support Package for Arduino Hardware in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!