Deleting pushbutton from mask
Show older comments
Hello, I would like to delete a pushbutton from a mask by a script. The pushbutton is inside a tab. I tried it like this:
Variants.maskHandle = Simulink.Mask.get('GHiL_GENERIC/pinky/HiL_ECU/IO/NIP_Editor')
p = Variants.maskHandle.removeDialogControl ('Control32')
test = Variants.maskHandle.getDialogControl('Control32')
p = Variants.maskHandle.removeDialogControl (test)
Both ways the following error occured:
No method 'removeDialogControl' with matching signature found for class 'Simulink.Mask'.
Could you give me a hint how to make it work?
Greetings Lucas
1 Comment
Lucas Maiß
on 17 Nov 2017
Answers (0)
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!