MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Learn moreOpportunities for recent engineering grads.
Apply TodayMATLAB Central > MATLAB Newsreader > create excel plot with MATLAB? 

Subject: create excel plot with MATLAB? From: Morgan Fox Date: 15 Jul, 2010 18:20:10 Message: 1 of 15 
I have written a script which looks in a directory, calls up appropriate files, and analyzes them all one at a time with a for loop. It takes data from an excel file, manipulates it, and saves it to a new excel file. I need an excel plot as well as the data in the new excel file... is there a way to have excel create a plot through MATLAB? I know I can send a MATLAB plot to excel with xlswritefig, but that's not exactly what I'm going for. 
"Morgan Fox" <mdf8@duke.edu> wrote in message <i1njgq$1og$1@fred.mathworks.com>... 
Subject: create excel plot with MATLAB? From: Morgan Fox Date: 15 Jul, 2010 19:43:04 Message: 3 of 15 
Andy, I think that will work. I appreciate it. 
% Apologies for my previous post. The following is better: 
Thank you for posting this. 
> 1. how do you label the axis? how do I find the objects to the x and y axis, is there one? 
Hello, I have a question regarding this: 
"Stan" wrote in message <jt2giu$dfg$1@newscl01ah.mathworks.com>... 
Okay that is helpful. However, if this has to be done in a loop, then that is a problem becasue this is a range of columns: 

"WC Luk" <jack.luk@hotmail.com> wrote in message <jt6s14$rpl$1@newscl01ah.mathworks.com>... 
Yes, that is what I mean. 
"WC Luk" <jack.luk@hotmail.com> wrote in message <jtf5q3$quj$1@newscl01ah.mathworks.com>... 
Okay, I tried this but it gave an error message: 
Subject: create excel plot with MATLAB? From: Cynthia Cruz Date: 8 Oct, 2014 00:46:16 Message: 15 of 15 
Can you give me more specifics on how to format a secondary axis. I have tried the following based on your suggestion: 
A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.
Anyone can tag a thread. Tags are public and visible to everyone.