How to find example file in MATLAB

조회 수: 5 (최근 30일)
Ari Prasetiyo
Ari Prasetiyo 2024년 9월 5일
댓글: Ari Prasetiyo 2024년 9월 5일
In the Steam Turbine and Governor simulink block documentation page, section Examples states: The power_thermal example illustrates the use of the Steam Turbine and Governor block. I have no idea where to find this power_thermal example in MATLAB. Is this a file, a cathegory, or something else? Where can I locate this example?
Update: when I run power_thermal in the command line, I get Unrecognized function or variable 'power_thermal' error message.

채택된 답변

Raghava S N
Raghava S N 2024년 9월 5일
편집: Raghava S N 2024년 9월 5일
Hi,
As per the release notes of MATLAB R2023b, starting from MATLAB R2023b, the function “openExample” must be used to open Simscape Electrical Specialized Power Systems example models from the MATLAB Command Window. Please refer to the following link for the release notes which describe in detail how to open the models - https://www.mathworks.com/help/releases/R2024a/sps/release-notes.html?searchHighlight=power_thermal&s_tid=doc_srchtitle#mw_76125a89-2bca-427c-afba-96f459edf95e.
The release notes of MATLAB R2023b also state that the model names of Simscape Electrical Specialized Power Systems example models from MATLAB R2023a have been re-mapped to new names from MATLAB R2023b onwards. For the “power_thermal” model, the new model name is “SteamTurbineandGovernorSystemExample”. Refer to the following link which details the re-mapping of Simscape Electrical Specialized Power Systems example models - https://www.mathworks.com/help/releases/R2024a/sps/release-notes.html?searchHighlight=power_thermal&s_tid=doc_srchtitle#mw_76125a89-2bca-427c-afba-96f459edf95e:~:text=SteamTurbineandGovernorSystemExample.
To launch the “SteamTurbineandGovernorSystemExample” (previously “power_thermal”) example model, use the following command in the MATLAB command window –
openExample('simscapeelectricalsps/SteamTurbineandGovernorSystemExample');
Hope that helps!

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Converters (High Power)에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by