Why does MATLAB hang after using MLPutVar in Excel Link or Spreadsheet Link EX 3.0 (R2007b) ?

조회 수: 2 (최근 30일)
In VBA, I create a variable referencing my Excel Worksheet and I use MLPutVar function to export my data to the MATLAB Workspace.
After that, MATLAB hangs and Excel Link does not work anymore. I need to kill the MATLAB process in the task manager.

채택된 답변

MathWorks Support Team
MathWorks Support Team 2009년 7월 30일
The MLPUTMATRIX function has to be used when creating or overwriting a matrix in the MATLAB workspace with data from a Microsoft Excel worksheet. The values to be copied are specified by their location in the worksheet either using a worksheet cell address or range name
The function MLPUTVAR is used for exporting Microsoft Excel VBA variable only, such as a double created in VBA.

추가 답변 (0개)

카테고리

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

제품


릴리스

R2007b

Community Treasure Hunt

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

Start Hunting!

Translated by