Create Signal Data for Simulation
Create input data to load into a model as simulation input. You can create signal data in the MATLAB® workspace or use the Signal Editor block. Optionally, create and import custom file types for signals.
Blocks
Signal Editor | Display, create, edit, and switch interchangeable scenarios |
Live Editor Tasks
Create Signal | Create signal in Live Editor (Since R2022b) |
Tools
Signal Editor | Create and edit input signals |
Functions
signalBuilderToSignalEditor | Import signal data and properties from Signal Builder block to Signal Editor block |
signalbuilder | (Not recommended) Create and access Signal Builder blocks |
Simulink.io.getFileTypeDiagnostics | Return structure with NamespaceErrors field for
Simulink.io.FileType objects (Since R2021a) |
Classes
Simulink.io.BaseWorkspace | Read data in format used by base workspace (Since R2021a) |
Simulink.io.FileType | Base class for file type readers for Simulink interfaces such as Signal Editor (Since R2020a) |
Simulink.io.MatFile | Read data in MAT file format (Since R2021a) |
Simulink.io.MDF | Read data in MDF-file format (Since R2023b) |
Simulink.io.ModelWorkspace | Read data in format used by model workspace (Since R2021b) |
Simulink.io.PluggableNamespace | Register Simulink.io.FileType objects from different name
space (Since R2021a) |
Simulink.io.SignalBuilderSpreadsheet | Read spreadsheet in format used by Signal Builder (Since R2020a) |
Simulink.io.SLDVMatFile | Read Simulink Design Verifier format data in MAT file (Since R2022a) |
Topics
- Create and Edit Signal Data
Use the Signal Editor to create and edit input signals that you can organize for root-level port mapping or multiple simulations.
- Change Signal Editor Default Layout
Optimize the Signal Editor layout by creating your own customized layout.
- Use Scenarios and Insert Signals in Signal Editor
Work with scenarios and signals in Signal Editor.
- Work with Basic Signal Data
Basic operations such as signal and data creation.
- Create Signals with MATLAB Expressions and Variables
Use MATLAB expressions to create signals in Signal Editor.
- Create Freehand Signal Data Using Mouse or Multi-Touch Gestures
Create signal data with mouse and multi-touch gestures.
- Import Custom File Type
Import custom file types to Signal Editor or Root Inport Mapper.
- Create Custom File Type for Import
To import custom file types to Signal Editor and Root Inport Mapper, create custom file type readers for your data.
- Create sldvData Custom File Type Reader to Import to Signal Editor
Import Simulink® Design Verifier™
sldvData
structures into Simulink for editing. - Export Signals to Custom Registered File Types
From Signal Editor, export signals to custom registered file types.
- Migrate from Signal Builder Block to Signal Editor Block
Consider replacing Signal Builder blocks with Signal Editor blocks.