MATLAB 'copy command' has unrecognised function or variable

4 ビュー (過去 30 日間)
Aiden
Aiden 2023 年 1 月 18 日
コメント済み: Aiden 2023 年 3 月 20 日
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

採用された回答

Steven Lord
Steven Lord 2023 年 1 月 18 日
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 件のコメント
Aiden
Aiden 2023 年 3 月 20 日
Hi Steven, thanks for the reply, upgraded to 2022b!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeTroubleshooting についてさらに検索

製品


リリース

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by