...
Right-click the Block TestBed and select Tools > Export to Simulink. To learn more, refer to the Generating a simulation file page.
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
...