Filter löschen
Filter löschen

Use MAT-File direct access in C++ API

1 Ansicht (letzte 30 Tage)
Pol Henarejos
Pol Henarejos am 21 Mai 2015
Dear all,
I always use matfile() function to store large arrays on the fly directly to the file, without bumping in to memory. I am doing some C++ staff with matOpen() with "w7.3" argument. However, I do not know how to perform the same file direct access feature in C++.
For instance, instead of
for (int i = 0; i < TOP; i++)
result[i] = someFunc();
storeResult(result);
I would like to store the results directly during
result[i] = someFunc();
Does anyone know how to do it?
Thanks for your time.

Antworten (0)

Kategorien

Mehr zu Call C++ from MATLAB finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by