Explanation

Unlike MATLAB, deployed Windows applications use Java figure windows exclusively. Therefore, deployed Windows applications must print figures using a different function than MATLAB.

For deployed UNIX applications, using print is appropriate.


Suggested Action

Rewrite the code to use deployprint instead of print, unless you are printing to a file, in which case using print is appropriate. For more information on deployprint, see its function reference page in the MATLAB Compiler documentation.

If your use of print is appropriate, then suppress this message, as described in Adjust Code Analyzer Message Indicators and Messages.