To export signals from Signal Editor to your own custom file types, on the Signal Editor tab, select Save > Export. Custom file types:
Are external to MATLAB® or Simulink®, such as Microsoft® Excel® or JSON format files.
Contain signal data whose format does not conform to those listed in Forms of Input Data.
When exporting a Simulink.io.SignalBuilderSpreadsheet
file type, it
must contain a dataset represented with Simulink.SimulationData.Dataset
objects that contain timeseries
data with vector data.
Simulink provides these file types.
Simulink.io.SignalBuilderSpreadsheet
— Signal Builder file
type
Example file types
Simulink.io.MySignalMatFile
Simulink.io.CreateSignals
In Signal Editor, create signals to export to your custom file type.
Click Scenario > Blank Scenario.
Click Signal > Author Signal.
Click Show Examples. Select Apply Example for the 2-D column vector.
Check that your custom file types have been registered in Simulink. In the Signal Editor tab, select Save > Export. The Export dialog box displays.
Click Browse.
From the list of custom MAT-files, select the one that contains your signals, such as
custompath/newFile.mat
.
All registered file types appear in the Supported File Types table.
The signals in your custom file type appear in the file browser.
Select the signals you want to export from Signal Editor, then click OK.
exportImpl
| getFileTypeDescription
| loadAVariableImpl
| loadImpl
| Simulink.io.FileType
| Simulink.io.FileType.isFileSupported
| Simulink.io.SignalBuilderSpreadsheet
| validateFileNameImpl
| whosImpl