how to load parameter using open_system()

조회 수: 1 (최근 30일)
수민 안
수민 안 2022년 2월 17일
답변: Fangjun Jiang 2022년 2월 17일
  • i want to know how to load parameter when i use 'open_system(" ")' to open simulink.
  • for example 'highway lane following' when i wirte open_system("HighwayLaneFollowingTestBench") all parameter are load.

답변 (1개)

Fangjun Jiang
Fangjun Jiang 2022년 2월 17일
open_system() only opens the Simulink model. It won't load parameters.
However, the Simulink model itself might have setup to load the parameters. You can set it up in model properties, callbacks, PreLoadFcn. Or the parameters can be saved in the model workspace. They will be loaded when the model is opened.

카테고리

Help CenterFile Exchange에서 Modeling에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by