Why does Matlab code copy-pasted from PDF-file viewed with Preview copied to MATLAB's editor copy with some end-of-lines missing?
2 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(2 个)
Nikhil Sonavane
2020-9-3
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 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Environment and Settings 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!