MATLAB: How to access value from gui to simulink subsystem for mask resistor ???


i want to change my resistor value from gui… i gave for example set_param('MyModel/MySubsystem/MyBlock','resistance','10'); but it shows Myblock does not have resistance parameter.. help me to solve this problem

Best Answer

  • To get the reals names of your parameters type
    The name of the parameter you want to change is R, not resistance.