フィルターのクリア

How to use 'copy command' from MATLAB examples and implement it?

24 ビュー (過去 30 日間)
Ashwini Rathi
Ashwini Rathi 2023 年 5 月 4 日
コメント済み: Voss 2024 年 1 月 9 日
Hi,
I am trying to find a li-ion temperature dependent battery model for predicitive maintenance. I found this link - https://nl.mathworks.com/help/sps/ug/lithium-ion-temperature-dependent-battery-model.html
Here, I can see copy command but I am unable to figure out the later process.
How to use this copy compand in MATLAB Simulink for it to work?

採用された回答

Cris LaPierre
Cris LaPierre 2023 年 5 月 4 日
Copy the command, then paste it into your MATLAB Command Window and run it. That will automatically download and open the example in Simulink. Just give it a few seconds to do all that.
  2 件のコメント
Ashwini Rathi
Ashwini Rathi 2023 年 5 月 4 日
I tried it but it says unrecognized function.
I am using 2022a version
Cris LaPierre
Cris LaPierre 2023 年 5 月 4 日
編集済み: Cris LaPierre 2023 年 5 月 4 日
Hmm. I was able to open it is R2022a.
Check that you have the following toolboxes installed:
  • optimization_toolbox
  • power_system_blocks
  • simscape
If not, and they are included with your license, you can install them using the Add-Ons Explorer.
Note: You will likely need Simscape and Simscape Electrical. The list I shared is what MATLAB shows is in use after running the model.

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

その他の回答 (2 件)

Huseein
Huseein 2023 年 5 月 31 日
I am running into the same issue, when I paste the copied command, I will get an error in the Command Window!
  3 件のコメント
Steven Lord
Steven Lord 2023 年 5 月 31 日
What release of MATLAB are you using?
Does that example indicate that it was created in a later release than the one you're using?
Do you have the products that the example says it uses installed and licensed?
Huseein
Huseein 2023 年 5 月 31 日
Issue solved, I had to install the simscape library then load the model.

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


anas nasser
anas nasser 2024 年 1 月 9 日
I made an electrical circuit on Simulink and I want to run it via Command Window via a link. How do I make a link?
  3 件のコメント
anas nasser
anas nasser 2024 年 1 月 9 日
We create a copy window and run it on Command Window and ring to open the simulink . How?

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

カテゴリ

Help Center および File ExchangeIntroduction to Installation and Licensing についてさらに検索

製品


リリース

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by