MATLAB Answers

1-D Lookup table

11 ビュー (過去 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