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

ID 683337
Date 12/12/2022
Public

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

Document Table of Contents

12.4. 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.