slreportgen.utils.getDisplayIcon
Get Simulink or Stateflow icon file name
Description
returns the icon image file name for a Simulink® handle or Stateflow® object.displayIcon
= slreportgen.utils.getDisplayIcon(obj
)
Examples
Get Icon Path for Stateflow Chart
Run the following command to access the supporting files used in this example.
openExample('rptgenext/SimulinkReportGeneratorFilesExample');
load_system('slrgex_sf_car') chart = find(slroot,'-isa',... 'Stateflow.Chart','Name','shift_logic'); iconPath = slreportgen.utils.getDisplayIcon(chart);
Input Arguments
Output Arguments
Version History
Introduced in R2018b