Why does Matlab code copy-pasted from PDF-file viewed with Preview copied to MATLAB's editor copy with some end-of-lines missing?
5 views (last 30 days)
Show older comments
Why does Matlab code copy-pasted from PDF-file viewed with Apple's Preview copied to MATLAB's editor copy with some end-of-lines missing?
I use a MacBook Pro (15 inch, 2018) with macOS Catalina version 10.15.6
Years ago I had the same problem. After a macOS update it disappeared. Now it came back. Caused by latest update?
When I view the same file with Adobe Acrobat and copy-past from it, I have no problem. Which I then do. But I am writing a textbook. I want this to work in Preview as well.
0 Comments
Answers (2)
Nikhil Sonavane
on 3 Sep 2020
From my understanding, I think that you are facing the issue because of the latest macOS update. For now one of the possible workarounds may be using some other app to copy-paste your code to MATLAB.
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!