I ask more in hope than expectation but is there anyway to import an excel spreadsheet into Matlab including the functions?
The sheet I am looking to import in enormous and so will require a huge effort to replicate it in Matlab so I have to ask.
I realise with the Excel add-in I can call excel from Matlab and vice versa. However one of the reasons that I am looking to import it into Matlab is that (due to it's immense size) the excel spreadsheet is really creaking (requiring 30s+ to do one update) so ideally I don't want to have them dynamically linked. I wonder however if I could use the link to import the data + forumlas? If someone has already done something similar I would love to see the code.
Also as an aside will importing into Matlab give me any appreciable speed up compared to the basic excel sheet? (I have other reasons for wanting to do the import (such as the tremendous library of functions in Matlab) but it would be good to know, what kind of performance gain (if any) I can expect.
xlsreadcan import formulas, only data and text in cells, but my guess is that you will see an enormous improvement in computation speed. Excel was designed primarily as an accounting package, not for engineering calculations and data analysis. - am304xlsreadto get the data but I highly highly doubt you'll be able to import the functions. Like 99.9999% certain that you can't. Depending on what your sheet is trying to do, and depending on how you code your Matlab, there is a fair chance you'll be able to get ample speed up by importing the data and rewriting all the formulae - Dan