Create sldvData
Custom File Type Reader to Import to Signal
Editor
Import Simulink®
Design Verifier™
sldvData
structures into Simulink for editing.
Create an
sldvData
MAT-file reader using theSimulink.io.SLDVMatFile
class 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
sldvData
signals, appears in the file browser.From the table of registered file types, select
Simulink.io.SLDVMatFile
as the reader class for thesldvData
MAT-file.The table of
dataset
s lists the test cases from thesldvData
MAT-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
sldvData
datasets.When you finish editing the
dataset
s, click Save, then enter a new MAT-file name to contain the editedsldvData
datasets.The file to which the edited
sldvData
dataset
s 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)
Related Topics
- Create Custom File Type for Import
- Import Custom File Type
- Manage Simulink Design Verifier Data Files (Simulink Design Verifier)