Install Data Translation Data Acquisition Toolbox on a computer where MATLAB is not installed
6 views (last 30 days)
Show older comments
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 Comments
Answers (1)
Anjaneyulu Bairi
on 26 Mar 2025
Hi,
Please check below MATLAB Answer which might helpful to resolve your query.
I hope this helps!
0 Comments
See Also
Categories
Find more on Image Acquisition Support Packages for Hardware Adaptors (Generic Video Interface) in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!