SIMSCAPE Parameters from WorkSpcae

1 回表示 (過去 30 日間)
Yusuf Selim KARATAS
Yusuf Selim KARATAS 2021 年 5 月 5 日
Dear All,
I have a simscape model that has some parameters like SOC_points, T_points and C points. I enter cell_SOCpoints, cell_Temppoints and cell_Q as values, which are defined in workspace, to them and it works.
What I want to do is that instead of entering these values to these boxes, I want to define them directly in .ssc file as parameters(Access=private). I tried both of ways that is depicted below but it did not worked.
Parameters(Access=private)
%SOC_points = {cell_SOCpoints,'1'} % did not work
%SOC_points = {value =cell_SOCpoints,'1'} % did not work
end
Any help will be appreciated.

回答 (0 件)

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by