inputParser does not support code generation, is that true?

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

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

类别

帮助中心File Exchange 中查找有关 Argument Definitions 的更多信息

产品

标签

提问:

2015-11-29

Community Treasure Hunt

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

Start Hunting!

Translated by