inputParser does not support code generation, is that true?

조회 수: 5 (최근 30일)
sun nan
sun nan 2015년 11월 29일
답변: Honglei Chen 2015년 12월 5일
I started to realize an awful lot of my code archive will be rendered useless under the matlab coder. Because simple system functions such as 'inputParser' seems to be mercilessly excluded by the code generator. Can somebody enlighten my woeful heart?

답변 (1개)

Honglei Chen
Honglei Chen 2015년 12월 5일
It's not supported. However, if you can do your own parsing in a different branch. For example,
if coder.target('MATLAB')
% use inputParser
else
% your parser
end

카테고리

Help CenterFile Exchange에서 Argument Definitions에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by