Can someone open this example?

답변 (2개)

William Rose
William Rose 2025년 11월 14일
편집: William Rose 2025년 11월 14일

0 개 추천

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 2025년 11월 14일
편집: Walter Roberson 2025년 11월 14일

0 개 추천

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

질문:

2025년 11월 14일

편집:

2025년 11월 14일

Community Treasure Hunt

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

Start Hunting!

Translated by