MATLAB Coder and sparse matrix

4 ビュー (過去 30 日間)
ryan
ryan 2014 年 4 月 24 日
コメント済み: ryan 2014 年 4 月 28 日
Hi all,
I found MATLAB Coder to be fancy and can speedup the Matlab codes much in some cases by converting Matlab codes into C/C++/MEX. But it seems that it does not support sparse matrix, for example, the function sparse(). However, sparse matrix is used in my codes as the dimension of matrix can be huge and it is indeed sparse... Does anyone have idea about this problem and how can I overcome this? Many thanks!

回答 (1 件)

Sean de Wolski
Sean de Wolski 2014 年 4 月 24 日
編集済み: Sean de Wolski 2014 年 4 月 24 日
MATLAB Coder does not support sparse at this time.
You could generate code for just the parts that don't use sparse matrices.
  1 件のコメント
ryan
ryan 2014 年 4 月 28 日
Thanks!

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

カテゴリ

Help Center および File ExchangeMATLAB Coder についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by