problem with freeing memory in mex file

In my mex file, I get strange error on freeing memory on mxDestroyArray(metric_state);
Can somebody go over the code and find out where is my problem?
Thanks

回答 (1 件)

Jan
Jan 2013 年 9 月 30 日

1 投票

This function has been discussed in your former thread http://www.mathworks.com/matlabcentral/answers/88498-problem-executign-mex-file already. It would be helpful for the ones, who wants to help you, if you provide any feedback at first and add a link to the former discussion also.
Please explain, what you have changed and explain "strange error" with more details.

カテゴリ

ヘルプ センター および File ExchangeWrite C Functions Callable from MATLAB (MEX Files) についてさらに検索

タグ

質問済み:

2013 年 9 月 30 日

回答済み:

Jan
2013 年 9 月 30 日

Community Treasure Hunt

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

Start Hunting!

Translated by