Creating a block in Simulink

From OpenMBD
Revision as of 14:47, 28 February 2019 by Hugo (talk | contribs) (Created page with "With all files in place, a new block can be created. *Open the Simulink Library Browser *Drag-and-drop a Level-2 MATLAB S-Function into the project File:level_2_matlab_s_fun...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

With all files in place, a new block can be created.

  • Open the Simulink Library Browser
  • Drag-and-drop a Level-2 MATLAB S-Function into the project

Level 2 matlab s function.PNG

  • Right-click the block
  • Select Block Parameters (M-S-Function)
  • Fill in the parameters as follows:

Level 2 matlab s function parameters.png

  • Close the dialog