Cropping Images on Simulink Blocks
                    Versione 1.1.0.1 (13,1 KB) da  
                  Stacey Gage
                    
                
                
                  Example of displaying and reducing an image on a Simulink block.
                
                  
              Image file can be used as an icon on a Simulink block.  In this example, the image is reduced to a size such that the I/O names can still be seen.
To see how this is done:
-Open the model
-Edit block mask
-Go to icon drawing commands
"image(imread('magic.jpg'),[.2, .2, .6, .6],'on')" 
with normalized drawing coordinates 
makes this possible
Cita come
Stacey Gage (2025). Cropping Images on Simulink Blocks (https://it.mathworks.com/matlabcentral/fileexchange/3484-cropping-images-on-simulink-blocks), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
              Creato con
              R11
            
            
              Compatibile con qualsiasi release
            
          Compatibilità della piattaforma
Windows macOS LinuxCategorie
      Scopri di più su Author Block Masks in Help Center e MATLAB Answers
    
  Tag
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
