Saving structure data type in Simulink
Mostrar comentarios más antiguos
I have a MATLAB Function block from which I need to save 10 variables to a file. Every variable has different size. I thought of taking advantage of structure data types. But not been able to save the structure with help of 'To File' block. Moreover, 'save()' function also can't be used in the matlab function block.
Is there any other way I can do that.
Or any way to store all 10 variables in same .mat file.
3 comentarios
Nishant Kumar
el 29 de Mzo. de 2020
Dhananjay Kumar
el 31 de Mzo. de 2020
Editada: Dhananjay Kumar
el 31 de Mzo. de 2020
You want to save the structure or overwrite it?
Nishant Kumar
el 31 de Mzo. de 2020
Respuestas (1)
Dhananjay Kumar
el 31 de Mzo. de 2020
0 votos
Try one of these:
Categorías
Más información sobre Workspace Variables and MAT Files en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!