Create sldvData Custom File Type Reader to Import to Signal
Editor
Import Simulink®
Design Verifier™
sldvData structures into Simulink for editing.
Create an
sldvDataMAT file reader using theSimulink.io.SLDVMatFileclass and register that class. For more information, see Create Custom File Type for Import.Create a model and add a Signal Editor block.
Leave the Signal Editor File name parameter as
untitled.mat.From within the Signal Editor block dialog, click To create and edit scenarios, launch Signal Editor user interface.
In the Signal Editor tab, click Import.
The Signal Editor Import dialog displays.
In the Signal Editor Import dialog, click Browse.
The custom MAT file that contains your
sldvDatasignals, appears in the file browser.From the table of registered file types, select
Simulink.io.SLDVMatFileas the reader class for thesldvDataMAT file.The table of
datasets lists the test cases from thesldvDataMAT file.Select the check boxes that correspond to the test cases you want to import to the Signal Editor for editing.
Click OK.
The Signal Editor loads the
sldvDatadatasets.When you finish editing the
datasets, click Save, then enter a new MAT file name to contain the editedsldvDatadatasets.The file to which the edited
sldvDatadatasets are saved is associated with the underlying Signal Editor block.
See Also
Simulink.io.FileType | Simulink.io.MatFile | Simulink.io.SLDVMatFile | sldvmakeharness (Simulink Design Verifier) | sldvmergeharness (Simulink Design Verifier)
Topics
- Create Custom File Type for Import
- Import Custom File Type
- Manage Simulink Design Verifier Data Files (Simulink Design Verifier)