Is it possible to assign an object to a struct type?
1 view (last 30 days)
Show older comments
For example, I would like to do something like
h(1) = axes;
so that I could do something like
h(1).YLim = [-5,5];
My workaround is doing
ax(1).h = axes;
ax(1).h.YLim = [-5,5];
Thanks, Denis
0 Comments
Answers (1)
See Also
Categories
Find more on Graphics Object Programming in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!