Imported functions are not visible outside?

1 次查看(过去 30 天)
Hi,
I have two files A and B.
% file A
addin_class = NET.addAssembly(addin_path);
automation_class = NET.addAssembly(automation_path);
support_class = NET.addAssembly(support_path);
import PrincetonInstruments.LightField.AddIns.*;
% file B
% Here I would like to use one of the imported functions
With Matlab 2014 this worked. Now I upgraded to Matlab2019 B, but seems like the imported functions are not visible in file B.
Any idea how to fix this?

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Get Started with MATLAB 的更多信息

产品


版本

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by