Getting value from the table - simulink
Afficher commentaires plus anciens
Hallo,
I am getting the table as the input to the simulink model for exmaple as given blow,

First row and column are my breakpoints. How can I directly give the above table as an input to Lookup table block and get the corresponding output?
Thanks a lot in advance
Best Regards,
Bala
Réponses (1)
Tridib
le 11 Fév 2025
0 votes
To use the given table as input for a “Lookup Table” block in Simulink, please follow these steps:
- Utilize the "2-D Lookup Table" block for this setup.
- In the "Block parameters dialog box" for the "2-D Lookup Table" block, add the required breakpoints and matrix in the “Breakpoints” and “Table data” sections respectively.
- As per the requirements, connect input sources to the "2-D Lookup Table" block for row and column inputs, attach a "Display" block to its output, and run the simulation to observe the results.
Ensure to adjust the interpolation and extrapolation methods in the block parameters as needed.
Refer to the following documentation:
Hope this helps!
Catégories
En savoir plus sur Modeling dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!