1-D Lookup table

2 views (last 30 days)
Aled
Aled on 20 Feb 2021
Answered: Mouhamed Niasse on 22 Feb 2021
I have a 1-d lookup table in a simulink model with one variable, which is temperature.
I want to use the temperature vs. simulation time output from this lookup table and insert it as a parameter in another block.
I cannot directly link the temperature output from the lookup table to the other block as the other block is a different physical domain,
Can i use an expression for the output temperature from the 1-d lookup table as a parameter value in the 2nd blocK?
Thanks

Answers (1)

Mouhamed Niasse
Mouhamed Niasse on 22 Feb 2021
Hello. From what i understand, your problem is how to insert in real-time the temperature output signal as parameter value for another block. I think you can firstly feed the temperature output signal into a 'to workspace' block. Then, you must give the parameter in your second block the same exact name you gave to the 'to workspace' block. Here is the help on 'to workspace' blocks. https://www.mathworks.com/help/simulink/slref/toworkspace.html

Products

Community Treasure Hunt

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

Start Hunting!