Main Content

Export Labeled Signal Sets and Signal Label Definitions

At the end of a labeling session, you can export any signal sets that you labeled or any label definitions that you created. You can export labeled signal sets and definitions either to MAT-files or to the MATLAB® Workspace. Signal Labeler exports labeled signals as labeledSignalSet objects.

Export Label Definitions

To export signal label definitions, click Export ▼ on the Labeler tab and select To Workspace or To File under Label Definitions. In the dialog box, specify the name of a variable or MAT-file. The specified file or variable contains an array of signalLabelDefinition objects with all the definitions you created, imported, and modified in the current Signal Labeler session.

Note

If you want to reuse signal label definitions created during a Signal Labeler session, you must export the definitions to a MAT-file and import them in a subsequent session.

Export Labeled Signal Sets

To export new labeled signal sets, click Export ▼ on the Labeler tab and select To Workspace or To File under Labeled Signal Sets. In the dialog box, specify the name of a variable or MAT-file and an optional brief description. The variable or file contains a labeledSignalSet object that merges all the signals, label definitions, and label values that you created, imported, and modified in the current Signal Labeler session. All signals that contain time information are converted to MATLAB timetables.

Note

When exporting labeled signal sets, Signal Labeler converts all signals with time information to timetables. This conversion results in a deeper hierarchy of nested channels in the exported labeledSignalSet object. You can see the deeper hierarchy if you import the labeled signal set again into the app.

See Also

Apps

Objects

Related Examples

More About