how can i to make an erro for mask of simulink?

I make a mask in simulink. I want to limit the values of mask. I want when user enter the values before run simulink if the values are not in the range the program gets error and says the values need to be corrected.How can i do this? I must write the command in the callbacks of mask?what commands? Please guide me. Regards.

Respuestas (1)

Kaustubha Govind
Kaustubha Govind el 30 de Jul. de 2013

0 votos

You can use each parameter's dialog callback to validate it. Please see this blog post for instructions.

La pregunta está cerrada.

Productos

Preguntada:

el 29 de Jul. de 2013

Cerrada:

el 20 de Ag. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by