“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