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.

回答 (1 件)

Kaustubha Govind
Kaustubha Govind 2013 年 7 月 30 日

0 投票

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

この質問は閉じられています。

製品

質問済み:

2013 年 7 月 29 日

閉鎖済み:

2021 年 8 月 20 日

Community Treasure Hunt

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

Start Hunting!

Translated by