Creazione dei dati del segnale per la simulazione
Creare dati di input da caricare in un modello come input di simulazione. È possibile creare dati del segnale nell'area di lavoro di MATLAB® o utilizzare il blocco Signal Editor.
Blocchi
Signal Editor | Display, create, edit, and switch interchangeable scenarios |
Attività di Live Editor
Creazione del segnale | Create signal in Live Editor (Da R2022b) |
Strumenti
Editor del segnale | Create and edit input signals |
Funzioni
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 (Da R2021a) |
Classi
Simulink.io.BaseWorkspace | Read data in format used by base workspace (Da R2021a) |
Simulink.io.FileType | Base class for file type readers for Simulink interfaces such as Signal Editor (Da R2020a) |
Simulink.io.MatFile | Read data in MAT file format (Da R2021a) |
Simulink.io.MDF | Read data in MDF-file format (Da R2023b) |
Simulink.io.ModelWorkspace | Read data in format used by model workspace (Da R2021b) |
Simulink.io.PluggableNamespace | Register Simulink.io.FileType objects from different name
space (Da R2021a) |
Simulink.io.SignalBuilderSpreadsheet | Read spreadsheet in format used by Signal Builder (Da R2020a) |
Simulink.io.SLDVMatFile | Read Simulink Design Verifier format data in MAT file (Da R2022a) |
Argomenti
- 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.