MATLAB: Is it possible to show Model Browser of a Simulink model programmatically

MATLABmodelsimulink

Hi, I was wondering if it is possible to configure a Simulink model (using MATLAB script) to display model browser by default on opening. I want to use it in the model's PreLoadfcn callback to display the block hierarchy. Thank you

Best Answer

Hi Sunny,
you can use
set_param(gcs, 'ModelBrowserVisibility', 'on')