c code conversion question

5 Ansichten (letzte 30 Tage)
ashish nandre
ashish nandre am 21 Jan. 2014
Beantwortet: Ryan Livingston am 27 Jan. 2014
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 Kommentar
Walter Roberson
Walter Roberson am 21 Jan. 2014
Are you typing in that command, or are you using the builder GUI ?

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Ryan Livingston
Ryan Livingston am 27 Jan. 2014
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}

Weitere Antworten (0)

Kategorien

Mehr zu Data Types finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by