フィルターのクリア

Error occurred when evaluating apply callback [Instrument Control Toolbox]

31 ビュー (過去 30 日間)
Luigi D'Amico
Luigi D'Amico 2015 年 12 月 26 日
コメント済み: WILSON ROMANO 2023 年 8 月 9 日
I'm trying to send data on my serial port through Simulink with the toolbox in description, but when i configure the Serial Configuration Block, it give me this error. I don't think the problem can be the port, because i have atteched an Arduino Uno.
  6 件のコメント
Mojtaba
Mojtaba 2016 年 8 月 10 日
I also have the same problem trying to connect to a virtual port for Ti MSP430 launchpad.
Miguel Ortiz
Miguel Ortiz 2019 年 4 月 11 日
Worked for me! thanks a lot!

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

回答 (5 件)

Juan Martinez
Juan Martinez 2016 年 10 月 18 日
編集済み: Juan Martinez 2016 年 10 月 18 日
For anyone reading this I used to have this same problem; however, I think I found the solution. Simply connect your hardware (Arduino) to the computer before opening Matlab. Then (with the hardware connected) open Matlab, then open your Simulink model and configure the Serial Configuration Block, it should work just fine now. After doing so, you can save your Simulink model and the serial configuration will be saved as well.
  8 件のコメント
JAEYOUNG LEE
JAEYOUNG LEE 2020 年 5 月 29 日
fantastic
WILSON ROMANO
WILSON ROMANO 2023 年 8 月 9 日
Excelent, thank you.

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


Robert Sawrey
Robert Sawrey 2016 年 8 月 18 日
I had this problem, then ran Matlab in Administrator Mode, which fixed the issue.

Madhu Govindarajan
Madhu Govindarajan 2015 年 12 月 28 日
Have you tried using the Arduino Serial Transmit instead of the Instrument Control Toolbox one? I think that will resolve this issue.

Fox Hsu
Fox Hsu 2016 年 1 月 26 日
i have the same problem. In my case, it turns out it's the conflict between 2 serial ports ( i'm trying to open 2 serial port in the same simulink model) cause this error message.

XIAOMING
XIAOMING 2017 年 4 月 18 日
could u speak Chinese?
  1 件のコメント
Hamza YILDIZ
Hamza YILDIZ 2017 年 5 月 13 日
編集済み: Hamza YILDIZ 2017 年 5 月 13 日
I can...
我不会说中文
see

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

カテゴリ

Help Center および File ExchangeInstrument Control Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by