Large Data Export Problem from C++

Hi,
I want to export data to a .mat file from my C++ application (64bit, Visual Studio 2010 Ultimate, Win7, Matlab2010). This works well for smaller files (500-700 Mbyte). However, when I come to the region of 1-2 Gigabytes my app crashes as there seems to be a problem with memory allocation (within mxCreateNumericArray). My machine shouldn't be the problem as I have 48 Gbyte of RAM. Any idea how to handle this issue? Would appreciate help on that. Thanks in advance.

2 件のコメント

James Tursa
James Tursa 2011 年 9 月 2 日
Are you running a 64-bit version of MATLAB?
Tassilo
Tassilo 2011 年 9 月 5 日
Yes, everything is 64-bit. Matlab libraries and the my program.

サインインしてコメントする。

回答 (1 件)

Tassilo
Tassilo 2011 年 9 月 5 日

0 投票

It seems like it was a pointer issue.

カテゴリ

ヘルプ センター および File ExchangeTroubleshooting in MATLAB Compiler SDK についてさらに検索

製品

質問済み:

2011 年 9 月 2 日

Community Treasure Hunt

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

Start Hunting!

Translated by