function [propVal err] = coder_sysobj_get(obj, propName)
%MATLAB Coder library function.
% safe coder get function for System objects.

%   Copyright 2007-2013 The MathWorks, Inc.

err = ''; propVal = [];
try
    if nargin == 2
      propVal = feval('get',obj,propName);
    else
      propVal = feval('get',obj);
    end
catch ME
    err = ME.message;
end
