Executible using actxserver is not working

2 次查看(过去 30 天)
Hi,
I am having an issue. I created a GUI with MATLAB that uses actxserver. On my machine with Matlab installed, this works and collects data using the connection below. automationInterface = actxserver('OmicronLab.VectorNetworkAnalysis.AutomationInterface')
bode = automationInterface.Connect();
OnePortMeasurement=bode.Impedance.CreateOnePortMeasurement;
When I package this as an executible on a computer without MATLAB, I get an error (complete error message is attached.)
Error using actxserver (line 93)
Server creation failed. Invalid {rpgID 'OmicronVectorAnalysis.AutomationInterface'.
How can I fix this?
Sarah

回答(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