Does Matlab Release 2014b include ghostscript? If so, can a deployed executable use ghostcript?
Mostrar comentarios más antiguos
I have an application that combines .ps files into a single file and then converts the single file into a .pdf file using ghostscript. If I deploy this application does Matlab include ghostscript and will my deployed version know where to find the ghostscript files?
Respuestas (1)
Rohit Kudva
el 20 de Oct. de 2015
1 voto
Hi Tommie,
MATLAB ships with its own version of ghostscript. The ghostscript files are located at [matlabroot\sys\extern\{arch}\ghostscript]. The ghostscript binary is provided via a MEX file 'gscript.mex*' located at [matlabroot/toolbox/matlab/graphics/private]. The MEX is called by the 'ghostscript' function located in the same directory. This function creates a file containing the command for ghostscript and then passes the file name to 'gscript' along with the file name for conversion.
For the deployed application, the ghostscript and MEX files are provided by the MCR (MATLAB Runtime) installation.
Regards,
Rohit
3 comentarios
Tommie Heard
el 20 de Oct. de 2015
Christopher Dembia
el 1 de Dic. de 2019
This does not seem to be correct for MATLAB 2019a on Mac.
Walter Roberson
el 1 de Dic. de 2019
ghostscript was removed as of R2015b.
Categorías
Más información sobre Startup and Shutdown en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!