Install Data Translation Data Acquisition Toolbox on a computer where MATLAB is not installed

6 visualizaciones (últimos 30 días)
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.

Respuestas (1)

Anjaneyulu Bairi
Anjaneyulu Bairi el 26 de Mzo. de 2025

Productos


Versión

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by