How can i read coeffictents stored in workspace from excel into matlab?

1 view (last 30 days)
After plotting, i did basic fit for my plot. The coefficients are saved in the workspace excel sheet.I require them for further calculation in my matlab program. How can I read the workspace coeffecients from excel into matlab? Thankyou

Answers (1)

Azzi Abdelmalek
Azzi Abdelmalek on 21 Sep 2013
use xlsread function
  3 Comments
ES
ES on 21 Nov 2013
Please be clear on what you specifically want. If you want to write a bunch of values/ or contents of a variable into an excel file, use xlswrite.
If you want to read an excel file and use its values in Matlab, use xlsread.
Nithya
Nithya on 4 Dec 2013
Actually i wanted to use the datas that were stored in workspace.
But now i got a solution to this problem: using data.name , etc
Thankyou

Sign in to comment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!