Arduino Simulink I/O
2 ビュー (過去 30 日間)
古いコメントを表示
Is there a way to set a pin as a output in a simulink model, and then set the same pin as a input later on?
2 件のコメント
Dan Lluch
2012 年 4 月 16 日
Can you let us know which arduino package you are using with Simulink? there are 3 different ones:
2 here - http://www.mathworks.com/academia/arduino-software/
The MATLAB one has Simulink blocks for host-based connectivity
And this one as an example production target:
http://www.mathworks.com/matlabcentral/fileexchange/30277
採用された回答
Gautam Vallabha
2012 年 4 月 30 日
With the Run on Target Hardware capability (in R2012a), the pin state is not tunable, i.e., you cannot set a pin an an output and then switch it to input while the application is running on the Arduino.
0 件のコメント
その他の回答 (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!