How to determine sign properties (++, +-, --) of sum block using matlab coding
1 view (last 30 days)
Jon on 20 Jun 2022
Suppose your Simulink model is called myModel, and the sum blocks are named Sum1 and Sum2.
You can get the signs, for example for Sum1 using:
signs = get_param('myModel/Sum1','Inputs');
You can set the signs using