Question:
I have a Matlab program that takes data from Excel and converts it to a barcode image?
entropic v
2008-06-16 12:53:55 UTC
Now I want to export the images back out of Matlab into another program (Word, Excel?) so I can line them all up to print. I use the imagesc function to make the barcode. The program takes the Excel data one at a time and generates the barcode. When one is done the next one will overwrite the old one in the Matlab plot. How can I export them so they all are kept? Please help, I asked before and got one answer which was like "do a VBA" which means nothing to me because I am not a programmer. I need to do this so I am trudging through Matlab learning on the way. Thanks.
Three answers:
huippi
2008-06-16 22:50:19 UTC
Or you could use subplot(rows,cols,num) which will plot num number of axes to figure:



subplot(3,2,1)

axes

subplot(3,2,2)

axes

subplot(3,2,3)

axes

subplot(3,2,4)

axes

subplot(3,2,5)

axes

subplot(3,2,6)



Replace axes commands with plot commands or imagesc commands.



You could also append all barcodes to one matrix and then print it, but then you would have to line them up cerefully. You can save matrices as images using 'imwrite' commmand.
anonymous
2014-12-02 19:55:16 UTC
complicated subject. do a search on to yahoo or google. this will help!
Jake in Indiana
2008-06-16 13:12:06 UTC
After you use the plot command use the command "figure" to create a new plot window.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...