| MATLAB Compiler | ![]() |
www.kxcad.net Home > CAE Software Index > MATLAB Index >
Use to print (as substitute for MATLAB print function) when working with deployed Windows applications
deployprint
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:
| Argument | Description |
|---|---|
| -d | Used to specify the type of the output (for example. .JPG, .BMP, etc.). deployprint only produces .BMP files. |
| -noui | Used to suppress printing of user interface controls. Similar to use in MATLAB print function. |
| -setup | The -setup option is not supported. |
| -s windowtitle | MATLAB Compiler does not support Simulink. |
deployprint supports a subset of the figure properties supported by print. The following are supported:
PaperPosition
PaperSize
PaperUnits
Orientation
PrintHeader
Note deployprint requires write access to the file system in order to write temporary files. |
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
| ctfroot | deploytool | ![]() |
© 1984-2007 The MathWorks, Inc. Terms of Use Patents Trademarks Acknowledgments