function errorUnknownEnvironment()
% Throw an error to indicate an unknwon environment (i.e. not MATLAB/Octave).
    error('matlab2tikz:unknownEnvironment',...
          'Unknown environment "%s". Need MATLAB(R) or Octave.', getEnvironment);
end

matlab2tikz
github-repos/MATLAB/matlab2tikz-matlab2tikz/matlab2tikz-806c97d99f87f8a1e99a7c54e853c25c82aac301/src/private/errorUnknownEnvironment.m
matlab2tikz
github-repos/MATLAB/matlab2tikz-matlab2tikz
806c97d99f87f8a1e99a7c54e853c25c82aac301