Products & Services Solutions Academia Support User Community Company

Learn more about MATLAB Compiler   

deployprint - Use to print (as substitute for MATLAB print function) when working with deployed Windows applications

Syntax

deployprint

Description

In cases where the print command would normally be issued when running MATLAB software, use deployprint when working with deployed applications.

deployprint is available on all platforms, however it is only required on Windows.

deployprint supports all of the input arguments supported by print except for the following.

ArgumentDescription
-d

Used to specify the type of the output (for example. .JPG, .BMP, etc.). deployprint only produces .BMP files.

    Note   To print to a file, use the print function.

-noui

Used to suppress printing of user interface controls. Similar to use in MATLAB print function.

-setup

The -setup option is not supported.

-s windowtitleMATLAB Compiler does not support Simulink®.

deployprint supports a subset of the figure properties supported by print. The following are supported:

Examples

The following is a simple example of how to print a figure in your application, regardless of whether the application has been deployed or not:

figure;
plot(1:10);
if isdeployed
	deployprint;
else
	print(gcf);
end 

See Also

isdeployed, print

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS