The code generated using the coder runs 2x slower!!! Please help in optimizing the speed

5 ビュー (過去 30 日間)
sindhu priyadarshini
sindhu priyadarshini 2015 年 12 月 8 日
編集済み: Jan 2015 年 12 月 8 日
Hi. I have generated C++ code using the coder laptop. I have used these generated C++ source codes in my VS 2010 solution. The exe runs 2x slower than Matlab version. I have used dynamic memory allocation while generating the C++ codes. Please help me in optimizing the speed. Also I used parfor to speed up the execution but when I check the performance of the EXE, it doesn't even use more than 25% of the computational power of the system. Is openMP supported in VS 2010?
  1 件のコメント
Jan
Jan 2015 年 12 月 8 日
編集済み: Jan 2015 年 12 月 8 日
It is impossible to suggest improvements without seeing the code. Do you mean "VS 2010 Professional"?

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

回答 (0 件)

カテゴリ

Help Center および File ExchangeExecution Speed についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by