Install Data Translation Data Acquisition Toolbox on a computer where MATLAB is not installed
4 次查看(过去 30 天)
显示 更早的评论
I want to create a Standalone exe file that acquires data with MATLAB's daq toolbox and use it on a computer where MATLAB is not installed.
The data acquisition equipment is from DT and requires Data Translation Data Acquisition Toolbox.
I want to know how to install it on a computer where MATLAB is not installed. Of course, I installed MATLAB runtime.
The mcc command is as follows.
mcc('-e','Test.mlapp','-a',fullfile(matlabroot,'toolbox','daq','daqsdk'),...
'-a','C:\Users\A\AppData\Roaming\MathWorks\MATLAB Add-Ons\Toolboxes\Data Translation Data Acquisition Toolbox\'...
);
When I run the above command, I get a lot of warnings like the following.
Warning: Excluded "C:/Program
Files/MATLAB/R2024b/toolbox/daq/daqsdk/tests/+daq/+sdk/+tests/+workflow/tsessionchannel.m";
reason: The file or function is non-deployable and has been excluded from packaging. Either
remove the file or function from your code, or use the MATLAB function "isdeployed" to
ensure the function is not invoked in the deployed component. Then you can suppress this
warning by using the %#exclude pragma.
Of course, if I run the generated exe file on a new computer, it will show an error that the DT hardware is not recognized.
Help me, plz.
0 个评论
回答(1 个)
Anjaneyulu Bairi
2025-3-26
Hi,
Please check below MATLAB Answer which might helpful to resolve your query.
I hope this helps!
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Acquisition Support Packages for Hardware Adaptors (Generic Video Interface) 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!