Clear Filters
Clear Filters

How can I get the simulink house heating example model?

5 views (last 30 days)
I am running the education version of MATLAB, but it seems to not have the simulink examples. I want to create a thermal model of a building, but would like to see examples in simulink of the House Heating System and the Thermal Model of a House. How can I get these models? I tried to run the command: "cd(setupExample('simulink_general/sldemo_househeatExample'));edit('sldemo_househeat_data.m')", but got invalid argument "simulink_general/sldemo_househeatExample" error.
Also tried: "openExample('simulink_general/sldemo_househeatExample')", but got same invalid argument error message.
It seems the version of MATLAB I have running does not have the simulink demo examples. How can I get these ?
Please expedite response.
Tolu

Answers (1)

Shivani
Shivani on 18 Jun 2024
The commands to access a certain example are release-specific. The command you shared in the question can be used to open the example only in MATLAB R2019a. However, if you are not using that release, you will need to use the release-specific command.
You can use the following link to access the documentation of the particular release you are using to determine the command to access the example: https://www.mathworks.com/matlabcentral/answers/1721995-where-can-i-find-the-documentation-for-older-releases-of-matlab

Categories

Find more on Programmatic Model Editing in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!