필터 지우기
필터 지우기

Running MATLAB from Excel - Matlab Builder Ex or Matlab Spredsheet link EX?

조회 수: 2 (최근 30일)
I have a number of calculations to be performed by a MATLAB M file and have all my data in an Excel sheet.
The m file is not very complex (around 200-300 lines of code)
The computation needs to be performed from Excel itself. (i.e. we do not want the data to be imported to MATLAB). We need excel to run the computation and then update the same excel files with the output.Have a button in the Excel file that start the computation using MATLAB in the background.
I have read a little about both the MATLAB Builder EX and the Spreadsheet link EX. Which one would be better for the situation described?
Also what are the licensing issues with both?

채택된 답변

Sarah Wait Zaranek
Sarah Wait Zaranek 2011년 11월 14일
It basically breaks down to if you want the end user who is running the model within Excel to have MATLAB or not.
Spreadsheet Link EX requires the end user to have MATLAB - moves the data to MATLAB, does the calculation and then brings it back (and any figure you may want) into Excel.
MATLAB Builder EX makes a standalone component that you can use inside of Excel. Note, this does require the end user to have a copy of the MATLAB compiler runtime (MCR)- which is freely distributable if you buy the MATLAB Builder EX. Note the Builder also requires you to have the MATLAB Compiler.
  댓글 수: 2
Thomas
Thomas 2011년 11월 15일
Thanks Sara, we have licenses for the Compiler, builder and Spreadsheet link EX. However I was taken aback to find that MATLAB Builder EX and Spreadsheet link are not supported on the MAC OSX platform where a majority of our development takes place..
I guess I have to develop this one on Windows..
Walter Roberson
Walter Roberson 2016년 1월 22일
Microsoft only supplies the ActiveX interface for their MS Windows version of Excel. (ActiveX is not common outside of MS Windows but it does exist.)

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Chetan Rawal
Chetan Rawal 2016년 1월 22일
Start here for an answer to your MATLAB-Excel integration questions: http://www.mathworks.com/discovery/matlab-excel.html

카테고리

Help CenterFile Exchange에서 Data Export to MATLAB에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by