Elements of MATLAB and Simulink - Lecture 1 - Percro
Elements of MATLAB and Simulink - Lecture 1 - Percro
Elements of MATLAB and Simulink - Lecture 1 - Percro
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Storing Data• MAT files are the fundamental way <strong>of</strong> storing data– Binary compressed copy <strong>of</strong> variables in the workspace– Accessible from C using libmat• Variety <strong>of</strong> data formats supported– Image from Image Toolbox (imread)– CSV (importdata) <strong>and</strong> XLS (xlsread)– HF5D hierarchical data format• Example <strong>of</strong> custom format– fopen frlead fwrite– loadbin> Storing Data – lesson1_exdata