MATLAB Answers

1-D Lookup table

조회 수: 5(최근 30일)
Aled
Aled 2021년 2월 20일
답변: Mouhamed Niasse 2021년 2월 22일
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

답변(1개)

Mouhamed Niasse
Mouhamed Niasse 2021년 2월 22일
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

Community Treasure Hunt

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

Start Hunting!

Translated by