c code conversion question

5 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Data Types 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by