How do I name a variable in Simulink so that I can later use it to compute a value, such as sin(psi) or cos(phi) or tan(theta).
4 views (last 30 days)
Show older comments
How do I name a variable in simulink so that i can later use it to compute a value based on it, such sin(psi) or cos(phi) or tan(theta)?
0 Comments
Answers (1)
Paul
on 6 Oct 2024
Hi DJ,
I did not open your model so I'm not sure exactly what you're trying to do.
Having said that, Simulink doesn't really care if signals are named or not. If you have a signal line that is psi, whether or not that signal line is actually named psi, just make that signal line an input to the Trigonometric Function block.
If you're trying to do something else, consider posting a screen capture so people don't have to download and open a model. You canuse the leftmost icon on the Insert portion of the ribbon.
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!