How to find example file in MATLAB
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Ari Prasetiyo
le 5 Sep 2024
Commenté : Ari Prasetiyo
le 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 commentaires
Réponse acceptée
Raghava S N
le 5 Sep 2024
Modifié(e) : Raghava S N
le 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!
Plus de réponses (0)
Voir également
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!