Serially Simulink communication with Arduino.

4 ビュー (過去 30 日間)
Mohammad AlShawabkeh
Mohammad AlShawabkeh 2012 年 3 月 3 日
コメント済み: duaa duaa 2023 年 5 月 26 日
Hello All,
I have connected my Arduino serially with my PC -using Simulink-, and it reads just one value !! How can i read more than value serially from the Arduino in the real time?? If that doesn't happened, how can i do it via analog pins (0-5)??
Kind Regards,
  1 件のコメント
duaa duaa
duaa duaa 2023 年 5 月 26 日
External Mode Open Protocol Connect command failed
Caused by: Could not connect to target application: XCP internal error: timeout expired, in response to XCP CONNECT command
I am facing this type error on arduino due can you please solve my issue i have tried to solve it but not solved yet

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

採用された回答

Rolfe Dlugy-Hegwer
Rolfe Dlugy-Hegwer 2012 年 6 月 15 日
Hi Mohammad, if you are using Arduino Mega 2560, you can use External mode to transfer real-time data back to your host computer, as shown in the "Communicating with Arduino Mega 2560 Hardware" example. If you used the default installation folder when you installed support for Arduino hardware, this example is located in: C:/MATLAB/Targets/R2012a/arduinomega2560/arduinomega2560demos/html/ Please let me know if you have more questions. Rolfe
  1 件のコメント
Mohammad AlShawabkeh
Mohammad AlShawabkeh 2012 年 6 月 16 日
ThanQ Mr. :)

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

その他の回答 (0 件)

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by