pnanez / HyEQ_Toolbox

Hybrid systems equations simulator, development repository
Other
11 stars 2 forks source link

Add Model Descriptions to Simulink models so that `help` prints a useful description #86

Closed pwintz closed 9 months ago

pwintz commented 1 year ago

On MATLAB 2021b, running help <package name> for a package containing a Simulink model, the output says that it "is not a valid MATLAB file." image

Per guidance from MATLAB Support:

A temporary workaround for this bug is to manually add a description for the Simulink model "zoh.slx." This can be done by navigating to the Setup section of the Modeling tab. Open the Model Properties and add descriptive text under the Description tab.

I have tested this and it works, we just need to go through all of the .slx files and make the change.