How to programmatically add images in masks?
6 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
How to programmatically add images in masks???
Use the script to achieve the following functions
Can this function “Simulink.Mask.convertToInternalImage” achieve this functionality? Can you provide an example?
Thanks!!!
0 Kommentare
Antworten (1)
Rasmita
am 7 Aug. 2023
Hi,
It is my understanding that, you are trying to add images as icons on a Simulink mask programmatically.
To achieve this, you can use following line of code:
set_param(gcb,'MaskDisplay','image(''image1.jpg'')');
For more information, refer to below documentation link:
Hope this helps!
Regards,
Rasmita
0 Kommentare
Siehe auch
Kategorien
Mehr zu Author Block Masks finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!