SIMULINK Lookup table for several inputs and outputs

5 ビュー (過去 30 日間)
ilaria scanu
ilaria scanu 2022 年 11 月 16 日
コメント済み: Fangjun Jiang 2022 年 11 月 16 日
Hi!
I have created an hydraulic system on Simulink and I have a big set of data from the real system. What I am trying to do is to import this data into Simulink so that I can run there my simulation and see where the simulation data falls.
I tried to use a lookup table, but apparently I can just put one input data set, but in my case I have got several, as I recorded data for different pump rpms.
Does anyone know if there is a better tool than a lookup table for this purpose?
Thank you!!

回答 (1 件)

Fangjun Jiang
Fangjun Jiang 2022 年 11 月 16 日
2-D lookup table or n-D lookup table will do. Check the block document for examples.
  2 件のコメント
ilaria scanu
ilaria scanu 2022 年 11 月 16 日
But in the n-D lookup table to me it looks like I can just put n input data (breakpoints) and one output data (table data). Please tell me if I'm wrong.
Because I have this plot, so I have a different set of x and y data for each rpm measurement. I am attching the plot to clarify what I'm saying.
Do you think I should instead put as x source the input port instead of dialog?
Fangjun Jiang
Fangjun Jiang 2022 年 11 月 16 日
A 2-D lookup table is sufficient for this case. Take a look at the example model and figure it out.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeLookup Tables についてさらに検索

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by