16.1.5. Edit Params
The Edit Params block is available as a functional block in the Simulink library browser. To view it open the library, by right clicking on the Design Configuration Blocks library in the Simulink Library Browser and selec Open Design Configuration Blocks Library.
Examples of Edit Params blocks are in many of the design examples.
To call your script automatically:
- When your model opens, add a PreloadFcn reference to your script in the Callbacks tab of your Model Properties in Simulink.
- At the start of a simulation run, add a InitFcn reference to your script in the Callbacks tab of your Model Properties in Simulink.