Simulink Pop Up Message

조회 수: 6 (최근 30일)
Patrick B
Patrick B 2019년 9월 4일
답변: Fangjun Jiang 2019년 9월 5일
I know I can use errordlg to create a pop up warning message in matlab, however it's not supported for code generation within Simulink.
Is there a similar function that I can use to achieve the same ends?
For context I'm running a simulation where someone drives a car with a joystick, and I want to display a message that tells them they left the bounds before resetting the car to it's starting position.
I don't really care about getting the user input of clicking "ok", I just want the message to appear while the simulation is still running

채택된 답변

Fangjun Jiang
Fangjun Jiang 2019년 9월 5일
Use Assertion block.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Simulink Coder에 대해 자세히 알아보기

제품


릴리스

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by