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.

Antworten (1)

Kaustubha Govind
Kaustubha Govind am 30 Jul. 2013

0 Stimmen

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

Diese Frage ist geschlossen.

Produkte

Gefragt:

am 29 Jul. 2013

Geschlossen:

am 20 Aug. 2021

Community Treasure Hunt

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

Start Hunting!

Translated by