| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → MATLAB Compiler |
| Contents | Index |
| Learn more about MATLAB Compiler |
hardcopy(handle,'filename','format')
The hardcopy(handle,'filename','format') command saves the figure window with handle to the designated filename in the specified format. Legal formats are:
-dps
-deps
-dps2
-deps2
-dill
-dhpgl
Caution Call this function when converting a figure to pixel data. This can be necessary in some Web deployments. Do not use this function merely as a substitute for the print function. |
![]() | getmcruserdata | isdeployed | ![]() |

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 |