I attempted to upload the attached simulink code to my arduino due, and generated the attached error. How can I resolve this error?
4 ビュー (過去 30 日間)
古いコメントを表示
=== Build (Elapsed: 16 sec) ===
### Starting build procedure for model: motorPulse1
### Build procedure for model: 'motorPulse1' aborted due to an error.
Error:Error evaluating registered method 'CheckParameters' of MATLAB S-Function 'msfun_arduino_digitalwrite' in 'motorPulse1/Arduino Digital Write'. The following is the MATLAB call stack (file names and line numbers) that produced this error:
['C:\Users\carlo\Documents\MATLAB\Add-Ons\Collections\Legacy MATLAB and Simulink Support for Arduino\code\simulink\msfun_arduino_digitalwrite.m'] [56]
['C:\Program Files\MATLAB\R2017a\toolbox\rtw\rtw\tlc_c.p'] [175]
['C:\Program Files\MATLAB\R2017a\toolbox\coder\simulinkcoder_core\+coder\+internal\ModelBuilder.m'] [650]
['C:\Program Files\MATLAB\R2017a\toolbox\coder\simulinkcoder_core\+coder\+internal\ModelBuilder.m'] [176]
['C:\Program Files\MATLAB\R2017a\toolbox\coder\simulinkcoder_core\+coder\+internal\@ModelCodegenMgr\make_rtw.m'] [8]
['C:\Program Files\MATLAB\R2017a\toolbox\rtw\rtw\make_rtw.m'] [18]
['C:\Program Files\MATLAB\R2017a\toolbox\simulink\simulink\private\build_target.p'] [0]
['C:\Program Files\MATLAB\R2017a\toolbox\simulink\simulink\private\build_target.p'] [0]
['C:\Program Files\MATLAB\R2017a\toolbox\simulink\simulink\private\build_standalone_rtw_target.p'] [0]
['C:\Program Files\MATLAB\R2017a\toolbox\simulink\simulink\private\slbuild_private.p'] [0]
['C:\Program Files\MATLAB\R2017a\toolbox\simulink\simulink\private\slbuild_private.p'] [0]
['C:\Program Files\MATLAB\R2017a\toolbox\simulink\simulink\sl.m'] [15]
['C:\Program Files\MATLAB\R2017a\toolbox\simulink\simulink\slbuild.m'] [61]
['C:\Program Files\MATLAB\R2017a\toolbox\coder\simulinkcoder_core\+coder\+internal\simulinkcodermenus.p'] [0]
Caused by:
Invalid value for a mask parameter
0 件のコメント
回答 (1 件)
Walter Roberson
2017 年 9 月 26 日
Why do you have Legacy Arduino support installed for R2017a ?
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Arduino Hardware についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!