MATLAB 'copy command' has unrecognised function or variable

4 vues (au cours des 30 derniers jours)
Aiden
Aiden le 18 Jan 2023
Commenté : Aiden le 20 Mar 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

Réponse acceptée

Steven Lord
Steven Lord le 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.
  1 commentaire
Aiden
Aiden le 20 Mar 2023
Hi Steven, thanks for the reply, upgraded to 2022b!

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Troubleshooting dans Help Center et File Exchange

Produits


Version

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by