As of NOMAD version 4.4.0, NOMAD will throw an error, complaining that the blackbox evaluation fails when the function handle seems to be @(varargin)featured_problem.fun(varargin{:}). If the function handle is forced to be fun with the signature fun(x), where x is a column vector, NOMAD will work.