.csv to .mat
10 views (last 30 days)
Show older comments
How do I convert .csv files into .mat files. Specifically to interchange new files into the scrips from Algorithmic Trading with MATLAB - 2010 (the webinar). I want to use other files instead of "Bund1min.mat"
Files and webinar:
(Algorithmic Trading with MATLAB - 2010 by Stuart Kozola 22 Nov 2010 (Updated 06 Dec 2010) Code covered by the BSD License Files from the November 18, 2010 webinar.)
0 Comments
Answers (1)
Walter Roberson
on 24 Mar 2011
csvread() can be used to load data from csv files. You can then save() the data to a .mat file.
4 Comments
Walter Roberson
on 25 Mar 2011
After you have done the load(), ask to output fieldnames(d) as perhaps the data is not stored in a field named 'data'.
See Also
Categories
Find more on Financial Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!