How to copy only paragraph from text file

1 次查看(过去 30 天)
I would like to copy a paragraph from text file ( Sample text Sample text). The paragraphs are divided by 1-1 like numbering.
from a text file test.txt
1-1
Sample text
Sample text
1-2
Sample text
Sample text
1-3
Sample text
Sample text
1-4
Sample text
Sample text
1-5
Sample text
Sample text

回答(1 个)

KSSV
KSSV 2017-8-26
Doc textscan

类别

Help CenterFile Exchange 中查找有关 Data Type Conversion 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by