MATLAB: Fixed point converter: Ignore code part.

coderfixed-point converterFixed-Point DesignerHDL Coder

I am using the HDL Coder and escape an Inputparser with
if coder.target('MATLAB')
p = inputParser;
%...Inputparser Stuff

addOptional(p, 'variable', 'default', @(x)ischar(x));
%...Inputparser Stuff
else
%if nargin = ...
end
The C Coder gets through the code fine, but the fixed-point converter does not skip the coder.target('MATLAB') code.
'@(x)ischar(x)' is an anonymous function. Anonymous functions are not supported for fixed-point conversion.
Is there any possibility to tell the fixed point converter to skip these lines?

Best Answer

Ignoring a code part in fixed point converter is currenty(R2019b) not supported.
Comment out the section as a temporary fix.