PDFCROP not recognized on Matlab
조회 수: 7 (최근 30일)
이전 댓글 표시
I want to use pdfcrop in matlab via the system command:
system('pdfcrop image.pdf image.pdf')
I have installed the pdfcrop on my mac and it does work from the shell, however for some unknown reason matlab is not able to find it and gives me the error
/bin/bash: pdfcrop: command not found
so I need to do the pdfcrop manually from the shell and I cannot automize it from my matlab script. Any suggestion?
답변 (2개)
Jan
2017년 6월 19일
What about providing an absolute path?
system('\bin\pdf\pdfcrop image.pdf image.pdf')
or where this tool is installed.
댓글 수: 0
Yuvraj Yuvraj
2021년 4월 3일
Install the pdfcrop package:
Then use:
!pdfcrop filename.pdf filename.pdf
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!