“Operation not supported” error while building Arduino model on MATLAB R2020a

7 次查看(过去 30 天)
I am running MATLAB R2020a on macOS. While trying to build a Simulink Model Configured for Arduino Hardware, I am getting the following error - "Operation not supported".

采纳的回答

Arun Kumar
Arun Kumar 2020-3-31
编辑:Arun Kumar 2020-4-15
If the version number of Simulink Support Package for Arduino Hardware that you have installed is 20.1.0, then you might face this issue. To know the version of the installed support package, execute the following command:
matlabshared.supportpkg.getInstalled
To resolve this issue follow the instructions given below:
Execute the following command in MATLAB command prompt.
setenv('ARDUINO_STATIC_LIB_PATH',['/Users/' getenv('USER') '/Documents/MATLAB'])
  3 个评论
Arun Kumar
Arun Kumar 2020-4-9
Hi Sam,
Please contact Technical Support if the issue still persists. Please note that the above solution is only for R2020a.
Thanks,
Arun
Arun Kumar
Arun Kumar 2020-4-15
Hi Sam,
I've updated the command. Can you try executing the new command in the answer:
setenv('ARDUINO_STATIC_LIB_PATH',['/Users/' getenv('USER') '/Documents/MATLAB'])

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Arduino Hardware 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by