How can I export transfer functions or data from System Identification app to MATLAB workspace using a script?
16 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Jeremy Faust
le 1 Août 2018
Modifié(e) : MathWorks Support Team
le 2 Fév 2024
I am working with System Identification Toolbox, and have found the method to call on my SID file to load all data from the SID, but am not able to find any information on exporting that data or the transfer functions in System Identification app to the MATLAB workspace via commands in my script rather than having to manually re-enter them into my workspace via the GUI. How can I export the transfer functions or data from the app to the workspace programmatically?
2 commentaires
Walter Roberson
le 2 Août 2018
.sid file? How did you read it? https://www.mathworks.com/matlabcentral/answers/67730-how-can-i-open-multi-spctral-image-file-sid-in-matlab#answer_79162
Réponse acceptée
Walter Roberson
le 2 Fév 2024
Modifié(e) : MathWorks Support Team
le 2 Fév 2024
Suppose you have a SID file named "testit.sid", use the following command to generate a struct named "S".
S = load('testit.sid', '-mat');
"S" will now contain several fields. The field named "Data" will be a cell array of "iddata", with one entry for each square that is filled in in the "Import data" section. The field named "Model" will be a cell array of various data types, with one entry for each square that is filled in in the "Import models" section.
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Transfer Function Models dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!