How can I copy lines of code from pdf to Matlab

I found out on internet some kind of code for program in Matlab. It is quit interesting code, but I have problem. Code is in pdf with numbers in front of code so I can not just copy in Matlab. Code have 1200 lines so it would take my time to select each and every line separably.
So is there a way to import code like in pdf to Matlab?
Thank you!

1 件のコメント

per isakson
per isakson 2015 年 4 月 4 日
編集済み: per isakson 2015 年 4 月 4 日
  • "with numbers in front of code" &nbsp is that line numbers?
  • "way to import code like in pdf" &nbsp depends on the settings of that particular pdf-file. Whether copy is allowed.
  • " select each and every line separably" &nbsp if it's possible to copy&paste single lines I assume it's possible to copy&paste multiple lines and edit the line numbers.
  • google "pdf to txt converter"

サインインしてコメントする。

回答 (1 件)

LUI PAUL
LUI PAUL 2015 年 4 月 5 日

0 投票

if u have foxit reader software to open the pdf,follow the figure i have uploaded and select all(Ctrl+A) and copy it....

カテゴリ

ヘルプ センター および File ExchangeEntering Commands についてさらに検索

タグ

質問済み:

2015 年 4 月 4 日

回答済み:

2015 年 4 月 5 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by