SIMSCAPE Parameters from WorkSpcae

1 Ansicht (letzte 30 Tage)
Yusuf Selim KARATAS
Yusuf Selim KARATAS am 5 Mai 2021
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.

Antworten (0)

Kategorien

Mehr zu Troubleshooting finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by