필터 지우기
필터 지우기

Using Mask Initialization and Parameter with Data Dictionaries

조회 수: 3 (최근 30일)
Dave Walter
Dave Walter 2015년 9월 14일
댓글: Kausalya Singuru 2015년 9월 15일
I currently have a system using Model Reference for subsystems and Data Dictionaries to maintain variables. I would like to mask a subsystem and have the Mask Initialization change values of a Constant source block with the value of a struct. I can't get the Mask Initialization to affect any changes on the Constant source block.
All the tutorials show the Initialization changing values in the Model Workspace. How do I get it to affect changes on the values from the Data Dictionary?
  댓글 수: 1
Kausalya Singuru
Kausalya Singuru 2015년 9월 15일
You can always set_param to set any properties of the blocks within the masked block. A clear explanation with an example may help in giving you specific solution.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

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

제품

Community Treasure Hunt

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

Start Hunting!

Translated by