How do I add a .tlb file to MATLAB?

3 次查看(过去 30 天)
Andrew
Andrew 2016-12-2
I am trying to use COM in MATLAB to use an API for an application that I am using. I am able to call most methods using the invoke function, but if a method has an output variable the invoke function does not work. I think this is because MATLAB is not recognizing the application's type library, is there anyway that I can import the .tlb file into MATLAB's references?
  3 个评论
monkeyquant
monkeyquant 2023-5-13
编辑:monkeyquant 2023-5-13
I would like to register C:\Program Files\MATLAB\MATLAB Runtime\R2022b\bin\win64\mlapp.tlb so that I can choose Matlab Application for Runtime or Matlab Automation Type Library after a successfully click in. It seems this could allow a deployed DLL using Actxserver to run correctly. regasm is not working.

请先登录,再进行评论。

回答(0 个)

类别

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