Simulink block "Tags" - when i can find documentation on "practical" tags?

조회 수: 13 (최근 30일)
Multiplexer
Multiplexer 2018년 7월 11일
답변: Robert 2018년 7월 12일
So, recently i found out that when doing code execution profiling you can use a "DoNotProfile" tag on default simulink blocks to exclude them from profiling.
This made me think, are there any other "practical" tags like these, that have some implaction in algorithm simulation and implementation?
When searching simulink documentation for any mention of tags, or even the "DoNotProfile" tag, hardly anything can be found. The only mention of tags i found so far is here https://www.mathworks.com/help/simulink/ug/block-properties-dialog-box.html but it only states about "assigning tags to identify blocks".
Can anybody shed some light on this?

답변 (1개)

Robert
Robert 2018년 7월 12일
According to documentation the tag of a block is just some marker you might use yourself to identify one or more blocks in your model (as you already found out). Actually "Tag" is a property common to any Matlab object, be it a figure, port, dialogue or whatever. Thus the described effect of tagging a blog as "DoNotProfile" seems to me something like an easteregg.
You'll find a lot of model parameters and also some block parameters influencing simulation and code generation, and while they are also not documented in their entirety, for most of them you'll find some useful documentation. I'd have a look there if I wanted to influence model behavior, and avoid making use of "eastereggs" as much as possible.

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by