フィルターのクリア

Simulink Arduino Connection IO Issue

14 ビュー (過去 30 日間)
Judah S
Judah S 2022 年 8 月 4 日
コメント済み: Ali mohsen 2023 年 5 月 7 日
HI Guys,
For matlab example such as this one, I get the following error.
Any idea why?
Thanks
MATLAB System block 'sldrtex_arduino/Digital Output' error occurred when invoking 'setupImpl' method of 'codertarget.arduinobase.blocks.DigitalWrite'. The error was thrown from '
'C:\ProgramData\MATLAB\SupportPackages\R2022a\toolbox\target\shared\devicedrivers\+matlabshared\+devicedrivers\+blocks\DigitalIO.p' at line 0
'C:\Program Files\MATLAB\R2022a\toolbox\target\codertarget\sltoolstrip\m\+codertarget\+internal\+sltoolstrip\ConnectedIOHandler.m' at line 106
'C:\Program Files\MATLAB\R2022a\toolbox\target\codertarget\sltoolstrip\m\+codertarget\+sltoolstrip\EmbeddedHardwareBoardContext.m' at line 440'.
Caused by: Configuring Pin 13 as Digital Input/Output failed. Pin 13 is not a valid Digital Input/Output pin. Reconnect the hardware, provide a valid Digital Input/Output pin number for your hardware and try again.

採用された回答

Judah S
Judah S 2022 年 8 月 4 日
Found my solution.
Just run the matlab with admin privilage.
  3 件のコメント
Stefanie Schwarz
Stefanie Schwarz 2023 年 4 月 27 日
@Leo If this solution doesn't work for you, please contact MathWorks Tech Support:
Ali mohsen
Ali mohsen 2023 年 5 月 7 日
I have the same issue and it have not worked when running as privilage

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeArduino Hardware についてさらに検索

製品


リリース

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by