MATLAB 'copy command' has unrecognised function or variable

4 visualizaciones (últimos 30 días)
Aiden
Aiden el 18 de En. de 2023
Comentada: Aiden el 20 de Mzo. de 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

Respuesta aceptada

Steven Lord
Steven Lord el 18 de En. de 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.

Más respuestas (0)

Categorías

Más información sobre Troubleshooting en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by