Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Right-click the Block TestBed and select Tools Export to Simulink. To learn more, refer to the Generating a simulation file page. 

    Image Added

  2. In the Simulink Export Options dialog, set the options listed below and click OK:

    • Format: XML (.slx)

    • S-Function or Simscape: S-Function version 2



  3. Launch Matlab with Simulink extension, and open the TestBed.slx file with the help of the Current Folder browser.



  4. In the Current Folder panel, double-click on the file named TestBed.slx. The TestBed model will open up in a new Simulink window. Rearrange the blocks to reflect the signal flow arrowheads.



  5. Open the Library Browser either by clicking the Library Browser icon or by going to Tools > Library Browser. Click Simulink> Sinks and select Scope.



  6. Drag and drop one Scope block from the Sinks library list into the TestBed Simulink model. Attach a signal line segment from the Scope port onto the signal line that connects the dsp block and the scopeSignalOutput block. Repeat the process of adding a Scope block and attaching it to the signal line that connects the inputSignal block to the dsp block.



  7. Go to Modeling>Model Settings:

...