DSP Builder for Intel® FPGAs (Advanced Blockset): Handbook

ID 683337
Date 6/26/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

16.1.5. Edit Params

The Edit Params block opens the setup_<model name>.m file. If you call your set up script setup_<model_name>.m you can use the Edit Params block in your design as a shortcut to open the set-up file.

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.