Converting mat files to daq format

1 view (last 30 days)
Paramonte on 17 Feb 2020
Answered: Keegan Carvalho on 27 Apr 2020
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!!

Answers (1)

Keegan Carvalho
Keegan Carvalho on 27 Apr 2020
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
Therefore y is a signed integer type variable in daq format.
Hope this helps!


Find more on Data Acquisition Toolbox Supported Hardware 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!