Why do I get "Dispatch : Error loading type library/DLL." when using MATLAB's ActiveX interface?
Ältere Kommentare anzeigen
Why do I get "Dispatch : Error loading type library/DLL." when using MATLAB's ActiveX interface?
hacc = actxserver('Access.Application')
hacc =
activex object: 1-by-1
hopen = invoke(hacc,'opencurrentdatabase',[pathname,filename])
hopen =
-1
set(hacc,'Visible','0')
ans =
activex object: 1-by-1
hWksp = get(hacc.DBEngine,'Workspaces')
The last line of code produces the following error:
??? Dispatch : Error loading type library/DLL.
Error in ==> P:\Program\matlab61\toolbox\matlab\winfun\@activex\private\actxcli.dll
Error in ==> P:\Program\matlab61\toolbox\matlab\winfun\@activex\get.m
On line 15 ==> varargout{1} = actxcli('get', varargin{1}.Handle,varargin{2:end});
Error in ==> P:\Program\matlab61\toolbox\matlab\winfun\@activex\subsref.m
On line 24 ==> B = get(A,S(idx).subs);
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu ActiveX finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!