Can someone open this example?

21 views (last 30 days)
Athanasios
Athanasios on 14 Nov 2025 at 14:00
Edited: Walter Roberson on 14 Nov 2025 at 20:49

Answers (2)

William Rose
William Rose on 14 Nov 2025 at 20:23
Edited: William Rose on 14 Nov 2025 at 20:23
Yes. When I go to the URL which you supplied, the web page opens. Then I click the button labelled "Copy Command" near top right of the web page.
Then I paste the command which I just copied into the Matlab command window.
openExample('simscapeelectricalsps/WindTurbineAsynchronousGeneratorExample')
After a few moments, the example opens in Simulink.

Walter Roberson
Walter Roberson on 14 Nov 2025 at 20:42
Edited: Walter Roberson on 14 Nov 2025 at 20:49
I can open it in R2024b on MacOS Intel (with 'help' configured for 'web' rather than installed locally)
I can open it in R2025a on MacOS Intel (with 'help' configured for 'web' rather than installed locally)
I cannot open it in R2025b on MacOS Intel (with 'help' configured for 'web'): it gives me the message
Error using websave (line 107)
The server returned the status 404 with message "Not Found" in response to the request to URL https://www.mathworks.com/help/releases/R2025b/exampledata/simscapeelectricalsps/examples.xml.
I cannot open it in R2025b on MacOS Intel (with 'help' configured for 'installed locally'): it gives me the message
Error using matlab.internal.examples.findExamplesXml (line 23)
Unable to find "simscapeelectricalsps/WindTurbineAsynchronousGeneratorExample". Check that the documentation for the product containing this example file is installed or change your "Documentation Location" preference to open the documentation on the web.
The R2025b problems are probably related to Simscape Electrical not being supported in R2025b (no updates). Simscape Electrical is supported in R2025b Update 1, but it seems the examples were not populated properly

Community Treasure Hunt

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

Start Hunting!