필터 지우기
필터 지우기

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.

댓글을 달려면 로그인하십시오.

답변 (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

댓글을 달려면 로그인하십시오.


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?

카테고리

Help CenterFile Exchange에서 Instrument Control Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by