![Screen Shot 2019-03-18 at 5.45.52 PM.png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/209014/Screen%20Shot%202019-03-18%20at%205.45.52%20PM.png)
How can i use If block for a matrix in SIMULINK?
3 次查看(过去 30 天)
显示 更早的评论
My block-set should use if block and convert any value of the given matrix from current value to 5 if a value greater than 0.
How can i do this operation?
Thx!!
I have just added the model and image.
![untitled.png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/209008/untitled.png)
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!