Saving structure data type in Simulink
显示 更早的评论
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 个评论
Nishant Kumar
2020-3-29
Dhananjay Kumar
2020-3-31
编辑:Dhananjay Kumar
2020-3-31
You want to save the structure or overwrite it?
Nishant Kumar
2020-3-31
回答(1 个)
Dhananjay Kumar
2020-3-31
0 个投票
Try one of these:
类别
在 帮助中心 和 File Exchange 中查找有关 Workspace Variables and MAT Files 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!