Accessing inputs to a masked block from the mask initialization

1 次查看(过去 30 天)
I'm trying to get value of an input to a masked block to use in the mask itself. Basically, I want to do a "find" on the input vector and change a mask internal parameter based on it. How can I get the input in the mask? Thanks!

采纳的回答

Guy Rouleau
Guy Rouleau 2012-3-12
I explain here why what you are trying to accomplish is probably a bad idea:
For some usage, it can be ok, for example:
In general, the documentation section "Accessing Block Data During Simulation" should help you:

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Author Block Masks 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by