SIMSCAPE Parameters from WorkSpcae

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 件)

カテゴリ

ヘルプ センター および File ExchangeTroubleshooting についてさらに検索

質問済み:

2021 年 5 月 5 日

Community Treasure Hunt

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

Start Hunting!

Translated by