Simulink.data.dictionary.Section
Data-Dictionary-Abschnitt konfigurieren
Beschreibung
Ein Objekt der Simulink.data.dictionary.Section-Klasse stellt einen Abschnitt eines Data Dictionarys dar, wie Design Data oder Konfigurationen. Mit dem Objekt können Sie Vorgänge an dem Abschnitt durchführen, beispielsweise Einträge hinzufügen oder löschen und Daten aus Dateien importieren.
Bevor Sie ein Simulink.data.dictionary.Section-Objekt erstellen, müssen Sie ein Simulink.data.Dictionary-Objekt erstellen, das das Ziel-Data-Dictionary darstellt. Nach der Erstellung existiert das Simulink.data.dictionary.Section-Objekt unabhängig vom Simulink.data.Dictionary-Objekt.
Sie können auf den Abschnitt Embedded Coder eines Data Dictionarys nicht über die programmatische Schnittstelle des Data Dictionary (siehe Store Data in Dictionary Programmatically) zugreifen. Siehe stattdessen Embedded Coder Dictionary (Embedded Coder).
Erstellung
Syntax
Beschreibung
Die Funktion getSection erstellt ein Simulink.data.dictionary.Section-Objekt.
Eigenschaften
Objektfunktionen
addEntry | Add new entry to data dictionary section |
assignin | Assign value to data dictionary entry |
deleteEntry | Delete data dictionary entry |
evalin | Evaluate MATLAB expression in data dictionary section |
exist | Check existence of data dictionary entry |
exportToFile | Export data dictionary entries from section to MAT-file or MATLAB file |
find | Search in data dictionary section |
getEntry | Create Simulink.data.dictionary.Entry object
to represent data dictionary entry |
importFromFile | Import variables from MAT file or MATLAB file to data dictionary section |
Beispiele
Versionsverlauf
Eingeführt in R2015a