deployprint

www.kxcad.net Home > CAE Software Index > MATLAB Index >


Your Ad Here

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, 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:

Example

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

  


© 1984-2007 The MathWorks, Inc. Terms of Use Patents Trademarks Acknowledgments

Your Ad Here