Error while uploading the Simulink model to an external arduino uno hardware

2 次查看(过去 30 天)
Even though I have installed all the 3 support packages When I am trying to upload the simulink model I receive this message:
External mode simulation is not supported for the 'Arduino Uno' hardware. However, you can deploy the model on this hardware. From the model window, click the "Deploy to Hardware" button. Component: Simulink | Category: Model error
when also trying to deploy it as recommended above I receive this message: Your current working folder is: C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin Simulink does not permit you to modify the MATLAB installation area. Please change to a working folder that is not in the MATLAB installation area and re-try the previous command. Component: Simulink | Category: Model error
what is the problem and how can it be solved ?
  1 个评论
Madhu Govindarajan
Madhu Govindarajan 2017-11-29
Based on this page https://www.mathworks.com/hardware-support/arduino-simulink.html, it looks like external mode is supported with Arduino Uno after the R2016b release. You might want to try with the latest release or another board of Arduino.

请先登录,再进行评论。

回答(1 个)

Walter Roberson
Walter Roberson 2017-11-28
cd to a directory you can write into and then Deploy to Hardware.
  2 个评论
Shivam Om
Shivam Om 2020-1-8
can you please explain how to do this ?
can't we run simulation in Matlab R2014b using Arduino Uno
Walter Roberson
Walter Roberson 2020-1-8
According to Madhu's information above, NO, the Uno was not supported for that purpose until a later release.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Setup and Configuration 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by