How to convert ModelDataLogs to Structure
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Alborz Sakhaei
le 19 Juin 2018
Réponse apportée : Fangjun Jiang
le 20 Juin 2018
I have a set of ModelDataLogs that is been generated in an old version on Simulink which does not support DataSet. How can I convert this ModelDataLogs (Simulin.ModelDataLogs class) into a simple structure (structure class).
Eventually I need to search/find "deep" into fields of the converted structure. That's why I need it to be in a structure class as opposed to Simulin.ModelDataLogs class.
0 commentaires
Réponse acceptée
Fangjun Jiang
le 20 Juin 2018
This might help. Assume your logged data is "logsout", run
logsout.unpack('all') to unpack all the data and then do whatever conversion you want.
doc unpack
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Prepare Model Inputs and Outputs 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!