how can i compress a text file using textscan?
이전 댓글 표시
how can i compress a text file using textscan? i have to compress a textfile,i think using textscan would be better...i can't seem to understand the format.
답변 (2개)
Walter Roberson
2013년 6월 10일
0 개 추천
textscan() is not useful for compressing files; it is only useful for reading in data. Though it could potentially be useful in reading data from a file in order to further process the data for the purpose of compression.
Normally if you were going to compress a file you would read the file with fread() (or perhaps fileread)
Did you ask your favourite search engine for "Matlab compress files" already? You'd find zip() immediately.
카테고리
도움말 센터 및 File Exchange에서 Large Files and Big Data에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!