Calling MATLAB and running m files from Excel VBA macro
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I want to ask about calling MATLAB and executing '.m' files using Excel VBA. I have searched about this, but I couldn't find the right solution yet. Do you have any idea how I should write VBA macros to do these?
- MATLAB version: R2008b
- m file: f_ann.m
Thanks a lot in advance for your time and reading my question.
0 Kommentare
Antworten (2)
Chirag Gupta
am 19 Jul. 2011
You can also achieve the same using MATLAB as a COM server. Please see sample code below:
VBA is very similar.
0 Kommentare
Siehe auch
Kategorien
Mehr zu Data Export to MATLAB finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!