Simulink Pop Up Message

6 visualizaciones (últimos 30 días)
Patrick B
Patrick B el 4 de Sept. de 2019
Respondida: Fangjun Jiang el 5 de Sept. de 2019
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

Respuesta aceptada

Fangjun Jiang
Fangjun Jiang el 5 de Sept. de 2019
Use Assertion block.

Más respuestas (0)

Categorías

Más información sobre Simulink Coder en Help Center y File Exchange.

Productos


Versión

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by