I'm using the Simulink and the "Constant block" to read a 3D matrix (row,column,page) in the workspace. I want to select one page of this 3D matrix on the Simulink, and this selection will change accord with the output of the others blocks in the simulation.
- I have one (r,c,p) matrix in Simulink;
- I want to select p=1,2,3...; (HELP HERE)
- I will use the "squeeze block" to remove the singleton dimension (in p);
- I will use this (r,c) matrix in my other part of the simulation.