need help with MATLAB reference libraries.

조회 수: 1 (최근 30일)
Johan
Johan 2011년 6월 7일
Hi all.
I am running matlab from excel, which works fine for me, I have windows 7, excel 2010, and matlab R2010a but if I were to run this on a computer that had matlab R2009a instead, I would probably run in to some missing references, but which?
In my project I use the following:
Matlab Automation Server Type Library (File: \MATLAB\R2010a Student\Bin\win32\mlapp.tdl mwsamp ActiveX Control module (File: \MATLAB\R2010a\toolbox\matlab\winfun\win32\mwsamp.ocx) mwsamp 2 ActiveX Control module (Matlab) (File: \MATLAB\R2010a\toolbox\matlab\winfun\win32\mwsamp2.ocx)
is there anywhere I can see what are the default paths and names for the equivalent files in earlier versions? or does someone know or can check their own folders for me?
Any help will be much appriciated

채택된 답변

Kaustubha Govind
Kaustubha Govind 2011년 6월 7일
The Programming with COM on Windows demo uses this component for an example. As the documentation points out, the file can be located by executing the following at the MATLAB prompt:
fullfile(matlabroot,'toolbox','matlab','winfun',computer('arch'))
  댓글 수: 5
Kaustubha Govind
Kaustubha Govind 2011년 6월 9일
Not sure what mlapp.tdl is (did you have a typo in the extension?), but mlapp.tlb is indeed located in $matlabroot\bin\$arch
Johan
Johan 2011년 6월 10일
yeah typo...but thanks.

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

추가 답변 (1개)

Johan
Johan 2011년 6월 8일
still having fun with this, please, if someone could find out their GUID or path to these files in matlab R2009a if you find it hard to do, just tell me, I have an Excel workbook that can list the path and GUID, just can't do it my self since I don't have matlab R2009a

카테고리

Help CenterFile Exchange에서 Use COM Objects in MATLAB에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by