Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Matlab .fig export to .xls

Status
Not open for further replies.

tim62

New member
May 26, 2005
1
Hi,

I've got a .fig file that isn't mine but I want to get the data values off it into an excel spreadsheet... I know it's an easy question but I've never used Matlab before but can anyone tell me what I have to do to export the data into ascii format from there?

Thanks,
Tim
 
Replies continue below

Recommended for you


Open the figure, then use these commands:

h = get (gca); % returns a handle to the figure
xdata = get(h.Children,'XData');
ydata = get(h.Children,'YData');
zdata = get(h.Children,'ZData');
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor