Calling MATLAB and running m files from Excel VBA macro
Mostra commenti meno recenti
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.
Risposte (2)
Fangjun Jiang
il 19 Lug 2011
0 voti
1 Commento
Ali Motagamwala
il 1 Mag 2020
The link no longer works
Chirag Gupta
il 19 Lug 2011
0 voti
You can also achieve the same using MATLAB as a COM server. Please see sample code below:
VBA is very similar.
Categorie
Scopri di più su Spreadsheets in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!