How to find example file in MATLAB
5 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Ari Prasetiyo
am 5 Sep. 2024
Kommentiert: Ari Prasetiyo
am 5 Sep. 2024
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.
0 Kommentare
Akzeptierte Antwort
Raghava S N
am 5 Sep. 2024
Bearbeitet: Raghava S N
am 5 Sep. 2024
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!
Weitere Antworten (0)
Siehe auch
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!