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

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)

use xlsread function

3 Comments

this is not working with the workspace excel application.
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.
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.

Asked:

on 21 Sep 2013

Commented:

on 4 Dec 2013

Community Treasure Hunt

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

Start Hunting!