Simulink block "Tags" - when i can find documentation on "practical" tags?
12 次查看(过去 30 天)
显示 更早的评论
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?
0 个评论
回答(1 个)
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.
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!