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

ID 683337
Date 9/30/2024
Public
Document Table of Contents

8.4.1. Running Setup Scripts Automatically

Procedure

  1. In a Simulink model file .mdl, click File > Model properties.
  2. Select Callbacks tab.
  3. Select PreLoadFcn and type the setup script name in the window on the right hand side. When you open your Simulink design file, the setup script runs.
  4. Select InitFcn and type the setup script name in the window on the right hand side. Simulink runs your setup script first at the start of each simulation before it evaluates the model design file .mdl.