Prev: Publish plots from inside loop
Next: input signal
From: Kevin on 23 Feb 2010 08:20 i am a relative newbie to MatLAB, and I am trying to generate multiple unique plots from inside a loop and have the output sent to a report (using the Publish Tool in the Editor). (MatLAB 7.1R14) For example: for index=1:5 plot(data(index)); end However, in this form the report ends up with only one plot (the last one generated). In a linear flow, I would usually separate sections with %% to get a new section and plot, but this seems to break the publish tool when it's inside a loop. How can I accomplish this?
|
Pages: 1 Prev: Publish plots from inside loop Next: input signal |