how to extract value from .mat file
Ältere Kommentare anzeigen
J'ai un modèle Simulink où je récupère les valeurs d'une variable dans un fichier .mat en utilisant Tofile block.
J'ai créé un script pour pouvoir récupérer que la dernière valeur du fichier .mat donc j'ai utilisé la fonction load pour charger le fichier après je ne sais pas quelle fonction à utiliser pour pouvoir récupérer ma valeur.
2 Kommentare
KSSV
am 11 Aug. 2017
Approximate translation:
I have a Simulink template where I retrieve the values of a variable in a .mat file using Tofile block.
I created a script to be able to recover the last value of the .mat file so I used the load function to load the file after I do not know what function to use to be able to retrieve my value.
Samah EL QASSAH
am 11 Aug. 2017
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Prepare Model Inputs and Outputs finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!