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.

Answers (1)

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

This question is closed.

Products

Asked:

on 29 Jul 2013

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!