SIMSCAPE Parameters from WorkSpcae

1 view (last 30 days)
Yusuf Selim KARATAS
Yusuf Selim KARATAS on 5 May 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.

Answers (0)

Community Treasure Hunt

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

Start Hunting!