[Solved] How to rewrite this Matlab 2014 code with axis-subplots to 2016?

You can simply write: figure(‘Units’,’inches’); b1 = subplot(2,2,1); b2 = subplot(2,2,2); b3 = subplot(2,2,3); b4 = subplot(2,2,4); or preferably, if you want to have an array of the axes: figure(‘Units’,’inches’); b(1) = subplot(2,2,1); b(2) = subplot(2,2,2); b(3) = subplot(2,2,3); b(4) = subplot(2,2,4); or use a simple for loop: figure(‘Units’,’inches’); b(1:4) = axes; for k = … Read more