How can i define sind, cosd etc. in SIMULINK?

17 views (last 30 days)
Hi,
In SIMULINK, we can convert the angle from radian to degree, but there is no block about sind, cosd or atand. Why does not SIMULINK include them and is there any way to define this kind of functions?
Thanks

Accepted Answer

Walter Roberson
Walter Roberson on 1 Feb 2021
Sure you can define them. You can create MATLAB Function Blocks. Or use Gain blocks. You could probably even create Subsystems if you want them to appear to be library blocks. Or even define Level-2 S functions if you are really enthusiastic about presentation and controls.

More Answers (0)

Categories

Find more on Simulink in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!