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.

Réponses (1)

Kaustubha Govind
Kaustubha Govind le 30 Juil 2013

0 votes

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

Cette question est clôturée.

Produits

Question posée :

le 29 Juil 2013

Clôturé :

le 20 Août 2021

Community Treasure Hunt

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

Start Hunting!

Translated by