Stop a mask callback from being called to not display it
Show older comments
Hello all,
I have a mask subsystem. I saw that the MaskCallback is called when the user double-clicks it.
In that callback i`m checking a variable. Depending on the value I want to open the mask or not.
My problem is that I do not know how to stop the mask from opening.
Any idea is appreciated :)
Thanks in advance,
Adrian
Accepted Answer
More Answers (2)
Kaustubha Govind
on 5 Mar 2013
0 votes
I don't think you can prevent the Mask Dialog from opening - what would you have it do? Throw an error, or have a no-op? However, perhaps it is better to simply make all the parameters invisible, so that when the Mask Dialog opens, it is empty.
Adrian Dronca
on 6 Mar 2013
0 votes
Categories
Find more on Author Block Masks in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!