hdcopysys.m
SYNTAX: hdcopysys(system,keep_ps,device)
PURPOSE: Create hardcopy plots of system block diagram.
(See hdcopy.m for ordinary figures.)
INPUT:
system = text string specifying system name
keep_ps = set to 1 to retain postscript file in local directory,
else deleted (optional, default=0)
device = string defining print device (optional, default='hplj21')
- Set = 0 to prevent printing (e.g. when keep_ps=1).
- Device can be 'eps', in which case keep_ps must=1 to
save the eps file.
OUTPUT:
hardcopy plot to printer
hdcopytemp.ps = local postscript file (if keep_ps=1)
RESTRICTIONS: The system to be printed must be opened by SIMULINK within
your MATLAB session in order for this function to work.
METHOD: Creates postscript file using matlab print command, then sends
to printer using !lp. Modify printer device for your local printer.
Dependencies