c code conversion question

5 ビュー (過去 30 日間)
ashish nandre
ashish nandre 2014 年 1 月 21 日
回答済み: Ryan Livingston 2014 年 1 月 27 日
i want to convert my .m file but error appears Failed to evaluate '(data)' to non-empty array in the base workspace,what should i do?
codegen -args (data) DSSS_base.m
  1 件のコメント
Walter Roberson
Walter Roberson 2014 年 1 月 21 日
Are you typing in that command, or are you using the builder GUI ?

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

採用された回答

Ryan Livingston
Ryan Livingston 2014 年 1 月 27 日
Is the variable data defined in the base MATLAB workspace? Try:
whos
to see the currently defined variables. If not, please define it.
You may also want to use:
-args {data}
since multiple arguments are specified in a cell array like:
-args {arg1, arg2, arg3}

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeData Types についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by