MATLAB Builder EX
조회 수: 3 (최근 30일)
이전 댓글 표시
I'm trying to return a #N/A or #Value! that is an error instead of string from MATLAB compiled .xla function to excel. Has anyone encountered this issue before?
댓글 수: 0
답변 (1개)
Madhura Suresh
2013년 8월 26일
This is because you have multiple MATLAB versions installed on your machine. To have Excel use your current version of MATLAB, do the following:
1. Shut down Excel.
2. Start MATLAB as an Administrator (by right clicking and selecting "Run as Administrator" and execute the following at the command prompt:
>> !matlab /regserver
/regserver allows you to manually register MATLAB as a COM server. This will launch a new MATLAB command window.
3. Start Excel and re-run the your function.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Data Export to MATLAB에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!