csvimport(filename)

For mac lovers who cannot get xlsread or csvread to ever work

您现在正在关注此提交

Simple command to convert a CSV file (using csvexport.m) into a cell array, easily accessible to matlab. No extensions, no java, no fuss. Purely fopen, fread, fclose. Pretty basic, does not position the array into a specific location/range. Obviously no sheet option because it is not an excel file. I will be happy to add range functionality if there is a strong demand, but it is relatively straight-forward to read and append file (see csvexport.m)

引用格式

Pratik Chhatbar (2026). csvimport(filename) (https://ww2.mathworks.cn/matlabcentral/fileexchange/48561-csvimport-filename), MATLAB Central File Exchange. 检索时间: .

一般信息

MATLAB 版本兼容性

  • 兼容任何版本

平台兼容性

  • Windows
  • macOS
  • Linux
版本 已发布 发行说明 Action
1.0.0.0