calling Matlab executable that returns array from VBA

조회 수: 1 (최근 30일)
Piyush
Piyush 2013년 8월 1일
My matlab function returns an array. I created an exe of the file and want to call it from VBA excel. Is there a function that can get the array from this executable. I know that the Shell command returns an integer.
Thanks.
  댓글 수: 1
Muthu Annamalai
Muthu Annamalai 2013년 8월 1일
@Piyush, an easy alternative is to write the data into a text file, from MATLAB, and read this file from VBA. Otherwise IPC may be involved/required.
Files could be replaced by sockets.

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

답변 (1개)

Febin Benjamin
Febin Benjamin 2013년 8월 1일

카테고리

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