MATLAB 'copy command' has unrecognised function or variable

9 Ansichten (letzte 30 Tage)
Aiden
Aiden am 18 Jan. 2023
Kommentiert: Aiden am 20 Mär. 2023
I am looking at 'Marine Power system deployment ti HIL'
I am trying to explore the model on simscape but the function to open the model that is copied from the 'copy command' option, once run in matlab script produces the error- 'Unrecognized function or variable 'ee_marine_power_system'.'
it looks as if the command to open the model is incorrect on the mathworks website.
does anyone have the correct command to open the model from the link above?
thanks,
Aiden

Akzeptierte Antwort

Steven Lord
Steven Lord am 18 Jan. 2023
The command is correct. I just tried it and it opened the example as I expected.
From the Release Notes for release R2022b, "Marine Power System Deployment to HIL" is a new example in this release. You're using release R2022a which predates the introduction of this example. That's why you can't open it. You'll need to upgrade to release R2022b (which as I type this is the most recent release) or later (if you're reading this in the future after release R2023a or later releases have been released) to open it.

Weitere Antworten (0)

Kategorien

Mehr zu Troubleshooting finden Sie in Help Center und File Exchange

Produkte


Version

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by