How to open a Simulink example using command

2 ビュー (過去 30 日間)
JIANGJIAO XU
JIANGJIAO XU 2022 年 7 月 21 日
回答済み: Fangjun Jiang 2022 年 7 月 22 日
I am trying to open a model called "Residential Air Source Heat Pump" from the Simscape Fluids by using the command "sscfluids_residential_air_source_heat_pump". It shows that to run command by entering it in the MATLAB Command Window. However, when I enter it in the MATLAB Command Window, it shows that Unrecognized function or variable 'sscfluids_residential_air_source_heat_pump'. Could anyone can guid me how to open this kind of model by using the MATLAB Command Window?

回答 (1 件)

Fangjun Jiang
Fangjun Jiang 2022 年 7 月 22 日
Most likely, you don't have the toolbox installed. Or, if installed, the path is not correctly set. Try these two commands in your MATLAB to see what returns.
ver fluids
----------------------------------------------------------------------------------------------------- MATLAB Version: 9.12.0.2006483 (R2022a) Update 3 MATLAB License Number: Operating System: Linux 5.4.185-0504185-generic #202203160950 SMP Wed Mar 16 14:00:16 UTC 2022 x86_64 Java Version: Java 1.8.0_292-b10 with AdoptOpenJDK OpenJDK 64-Bit Server VM mixed mode ----------------------------------------------------------------------------------------------------- Simscape Fluids Version 3.4 (R2022a)
which sscfluids_residential_air_source_heat_pump
/MATLAB/toolbox/physmod/sh/shdemos/sscfluids_residential_air_source_heat_pump.slx

カテゴリ

Help Center および File ExchangeTwo-Phase Fluid Library についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by