GetNumsInAsciiFile(sFName,varargin)
版本 1.1.0.0 (1.3 KB) 作者:
Jeff Miller
Read the numbers from an ASCII file, ignoring everything else.
Call this function with the name of a text file, and it returns a vector of the numbers found in that file. This can be useful for reading the numbers from files with variable line formats. Use reshape(outNums,k,[])' to change the GetNumsInAsciiFile output vector into a two-dimensional array when reading text files with k numbers in each row.
引用格式
Jeff Miller (2025). GetNumsInAsciiFile(sFName,varargin) (https://www.mathworks.com/matlabcentral/fileexchange/66692-getnumsinasciifile-sfname-varargin), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
创建方式
R2013a
兼容任何版本
平台兼容性
Windows macOS Linux标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!