![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/177337/image.png)
[Simulink] How to set array in mask and assign first index value to a block
1 次查看(过去 30 天)
显示 更早的评论
Hello,
I would like to set an array in the mask parameter and access the values by index. For example in mask the parameter value is ConstantValue = [1 2 3]
Inside the masked block, I assign the first index to a constant block Value = ConstantValue[0] => 1
Please suggest how I can do so?
Thank you
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Simulink Functions 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!