MATLAB: How to change Simulink Block properties from Command Window

block propertiescommand windowMATLABset_paramsimulink

Hello Everyone,
I'm trying to change a block properties from command window.
For example, in, "Revolute Joint: Revolute" How to change Torque from None to Automatically Computed.
to
I'm trying to use, "set_param" but It is not usefull.
Can someone please help me.
Thanks in advance.
Regards,
Yatish.

Best Answer

set_param('YourBlockPath','TorqueActuationMode','ComputedTorque')