Is it possible to run Excel calculations in Matlab?
Ältere Kommentare anzeigen
Basically I have an extremely involved Excel spreadsheet that calculates stress/strain on different materials. There are various inputs in the Excel spreadsheet and then it calculates data points corresponding to stress/strain. Is there a way to:
- Use Matlab to create the inputs for the Excel spreadsheet
- Open the Excel spreadsheet, copy inputs from Matlab into relevant fields and 'run' the calculation done in the spreadsheet
- Extract stress/strain data to plot in Matlab.
The spreadsheet itself has a worksheet with the data values that I am interested in plotting in Matlab, but I need to be able to define input parameters in Matlab and plot the curves in Matlab, not in Excel.
3 Kommentare
dpb
am 7 Dez. 2016
Sure there is, but why not ditch Excel entirely? It's surely simpler to write the computations in Matlab than VBA.
Ibro Tutic
am 7 Dez. 2016
Bearbeitet: Ibro Tutic
am 7 Dez. 2016
dpb
am 7 Dez. 2016
Well, start with
doc xlsread
doc xlswrite
Then, of course, there's the ActiveX server that let's you interact directly at low-level.
Antworten (0)
Kategorien
Mehr zu Spreadsheets finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!