Skip to content

A simple to use Matlab utility class for handling CSV files

License

Notifications You must be signed in to change notification settings

MatanRubin/CsvReader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Matlab CSV Reader

Working with CSV files in Matlab is a PITA. This utility class helps do that by providing the following functionality:

  • Read CSV files with both numeric and string data
  • Get a column by a numeric index or an Excel like index
  • Get column title by a numeric index or an Excel like index
  • Create variables in the workspace using a numeric index or an Excel like index

It also detects the data types by itself, so no conversions are necessary.

Disclaimer: This code was written as a helper class for another project, and was never meant to serve as a bullet proof general purpose utility, so use at your own risk.

Usage Examples

TODO

Notes

  1. Tested with Matlab 2013 on a Mac.
  2. Doesn't support Windows environments (but should be easy to add if needed).

Contributing

Feel free to contribute bug fixes and new features, or contact me if needed.

About

A simple to use Matlab utility class for handling CSV files

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages