![](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
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Mohammed Shameem Hussain
am 7 Jul. 2017
Kommentiert: Mohammed Shameem Hussain
am 7 Jul. 2017
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 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Simulink Functions finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!