MATLAB: How can i define sind, cosd etc. in SIMULINK

MATLABsimulink

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

Best Answer

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.