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 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
Paul
2024-10-6
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 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!