3D array manipulation Simulink

18 ビュー (過去 30 日間)
Hildo
Hildo 2017 年 1 月 19 日
回答済み: Hildo 2017 年 1 月 26 日
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.
Summarizing:
  1. I have one (r,c,p) matrix in Simulink;
  2. I want to select p=1,2,3...; (HELP HERE)
  3. I will use the "squeeze block" to remove the singleton dimension (in p);
  4. I will use this (r,c) matrix in my other part of the simulation.

採用された回答

Hildo
Hildo 2017 年 1 月 26 日
It is possible using the "Direct Lookup Table (n-D)" block, selecting it to have a "table input".

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMeasurements and Statistics についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by