The Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: How to copy and past Excel-data into a MATLAB GUI table?
Replies: 5   Last Post: Sep 9, 2014 2:29 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Sebastian Gatzka

Posts: 2
Registered: 11/19/12
Re: How to copy and past Excel-data into a MATLAB GUI table?
Posted: Nov 25, 2012 7:27 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Thank you Ryan,

but I don't want to work with files, I need a copy & past function.

"Ryan" wrote in message <k8tapt$m4t$1@newscl01ah.mathworks.com>...
> I just stumbled across this post. I wonder why no one has offered a suggestion yet. Well, nevertheless, here's my recommendation. please read this:
> http://www.mathworks.com/help/matlab/ref/xlsread.html
>
> That is probably the single best comprehensive resource for integrating Matlab and Excel. Here is a single line of code that will import excel data into Matlab:
> [num,txt,raw] = xlsread('C:\Program Files\MATLAB\R2012a\Symbols.xls')
>
> Just change the path to your own Excel file.
>
> "Sebastian Gatzka" <sebastian.gatzka.NOSPAM@gmx.de> wrote in message <k8crq9$g3f$1@newscl01ah.mathworks.com>...

> > Hello world,
> >
> > i really would like to paste rows and columns from Excel into a MATLAB GUI table.
> > So far, if I past into the table all the data is crammed into the one cell which is currently highlighted.
> > Thats not what I want, but to preserve the rows and columns from Excel.
> >
> > Any ideas how this can be managed?
> >
> > Thanks in advance!
> > Sebastian




Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.