Change entity queue capacity in mask

2 ビュー (過去 30 日間)
Mats
Mats 2021 年 10 月 15 日
I would like to change the capacity of an entity queue in a subsystem using mask parameters but I cannot enter the parameter in the capacity field of the entity queue object.

回答 (1 件)

Harikrishnan Balachandran Nair
Harikrishnan Balachandran Nair 2021 年 10 月 20 日
Hi,
I understand that you are using an 'entity queue' in your subsytem, and are trying to provide the entity queue parameter 'capacity' as a mask parameter.
You can achieve the same by assigning any variable name, for example 'c' , to the parameter 'Capacity' , inside the block parameters of entity queue. Following that, you may create a mask for your subsystem, and in the 'parameters & Dialog' tab inside the mask editor, you can add the variable 'c'. This will enable you to change the parameter 'Capacity' as per your need, using the interface provided by the mask.
Please refer to this Documentation link to get a better idea on how to create a mask: https://www.mathworks.com/help/simulink/ug/how-to-mask-a-block.html

カテゴリ

Help Center および File ExchangeMessages についてさらに検索

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by