views:

29

answers:

2

I load an xls file in Matlab, and I need not only the numeric values but the formulas also. Do you have any idea?

A: 

If you want to generate a formula from the data values in the xls file, perhaps the Curve Fitting Toolbox is what you need.

Jim Lewis
+1  A: 

Look at this submission on File Exchange: AnalyseExcelFormulas

yuk
I get an error. I think, it work only in Windows, and not on Mac. >> AnalyseExcelFormulas('ADYAN.xls') ??? Undefined function or method 'actxserver' for input arguments of type 'char'. Error in ==> AnalyseExcelFormulas at 90 h.activex1 = actxserver('Excel.Application'); –
Kukoda János
You are right. It's using COM, which is available only on Windows, to access Excel files. But you didn't specify the OS in the question.
yuk