Info

この質問は閉じられています。 編集または回答するには再度開いてください。

Single lookup table block in Simulink for 300 sets of data?

2 ビュー (過去 30 日間)
want2know
want2know 2014 年 6 月 12 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
Hi,
I would like to know if it is possible to use JUST a single lookup table block in Simulink for 300 different sets of data?
In 1-D Lookup table block, I can define the table data and breakpoints.
How if I have 300 sets of different table datas and breakpoints?
What I am doing is by saving those 300 sets of data in .mat file and calling the interpl function from file, I prefer to use 1-D Lookup table block in Simulink since it is dragging too slow in the method I am currently using.
Appreciate any input, thanks!!
  2 件のコメント
Kaustubha Govind
Kaustubha Govind 2014 年 6 月 13 日
Could you explain the usecase a bit more? How do you choose from the 300 sets? Is the choice made at run-time? The table data is a non-tunable parameter, so it is not possible to change it at run-time.
want2know
want2know 2014 年 6 月 16 日
編集済み: want2know 2014 年 6 月 16 日
Thanks for your reply.
Previously, I have 300 inputs to a single 1-D lookup table where all the 300 inputs are using the SAME table data and breakpoints. For example,
Input = [5 80....] % 300 values Tabledata=[1000...]% 10 values breakpoint=[3...]%10 values
I have no problem for the above case where, with 300 inputs, the 1D lookup table will peform the interpolation to give me 300 corresponding outputs.
What I want to do now is to have different sets of table datas for 300 inputs to single 1-D Lookup table.
I have the table datas prior to simulation.
So what I am doing now is to do the interpolation by accessibg .mat file from S-function level-2 and it made the simulation a lot slower.
I prefer to use the lookup table block in Simulink and would like to check if this is possible.
but i have trouble to really figure it out that it did what I want and am still trying.

回答 (1 件)

want2know
want2know 2014 年 6 月 13 日
anyone?

この質問は閉じられています。

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by