Converting mat files to daq format

1 次查看(过去 30 天)
Hello There
We would like to convert mat files, or indeed matlab variables in the workspace, to the daq format.
what we are looking for is the inverse operation of the daqread.m command in matlab
Thanks in advance!!

回答(1 个)

Keegan Carvalho
Keegan Carvalho 2020-4-27
I believe daq files are like integer, characters or signed integer files. So you can try converting your variable to an int32 as follows:
x % x is variable
y=int32(x);
Therefore y is a signed integer type variable in daq format.
Hope this helps!

类别

Help CenterFile Exchange 中查找有关 Data Acquisition Toolbox Supported Hardware 的更多信息

产品


版本

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by