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 CenterFile Exchange에서 Troubleshooting에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by