inputParser does not support code generation, is that true?

1 view (last 30 days)
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?

Answers (1)

Honglei Chen
Honglei Chen on 5 Dec 2015
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

Categories

Find more on Argument Definitions in Help Center and File Exchange

Tags

Products

Community Treasure Hunt

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

Start Hunting!