Install Data Translation Data Acquisition Toolbox on a computer where MATLAB is not installed
Afficher commentaires plus anciens
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.
Réponses (1)
Anjaneyulu Bairi
le 26 Mar 2025
0 votes
Hi,
Please check below MATLAB Answer which might helpful to resolve your query.
I hope this helps!
Catégories
En savoir plus sur Introduction to Installation and Licensing dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!