I get the following error; "Caused by: Variable 'fan_area' has been deleted from base workspace." in Simscape

4 ビュー (過去 30 日間)
Kemal Oz
Kemal Oz 2021 年 12 月 1 日
回答済み: Yifeng Tang 2022 年 7 月 22 日
when I try to run the Electric Vehicle Thermal Management (sscfluids_ev_thermal_management) example I get the following error; "Caused by: Variable 'fan_area' has been deleted from base workspace."
It looks like fan_area variable is missing in from the base workspace in the latest version of Matlab/Simulink. How can I fix this?

回答 (1 件)

Yifeng Tang
Yifeng Tang 2022 年 7 月 22 日
The parameters of this model are all kept in the Simulink model workspace. So the fact that it's looking for things in the base (MATLAB) workspace in strange.
What's also strange is that this example doesn't seem to require this fan_area variable, at least not in R2021b. Any chance you or your colleague has modified the model, OR used the example from an older version which may have different parameter definitions?
Do you have the release number of your MATLAB so I could try tp reproduce this? Can't reproduce with the a few versions I have installed.

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by