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 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