Calling MATLAB and running m files from Excel VBA macro
조회 수: 1 (최근 30일)
이전 댓글 표시
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
답변 (2개)
Chirag Gupta
2011년 7월 19일
You can also achieve the same using MATLAB as a COM server. Please see sample code below:
VBA is very similar.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!