Use MAT-File direct access in C++ API
1 次查看(过去 30 天)
显示 更早的评论
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.
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 HDF5 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!