| Step 3: Writing MAT LAB Data to an HDF4 File. After creating an HDF4 file and creating a data set in the file, you can write data to the entire data set or just a portion of the data set. In the HDF4 SD API, you use the SDwritedata routine. In MATLAB, use the hdf sd function, specifying as arguments: • Name of the SD API routine, 1 writedata1 in this case • Valid HDF4 SU data set identifier, sds_id, returned by SDcreate " Location in the data set where you want to start writing data, called the Start vector in HDF4 terminology " Number of elements along each dimension to skip between each write Operation, called the stride vector in HDF4 terminology • Total number of elements to write a Ions 'KK.h dimension, called the edges vector in HDF4 terminology • MATLAB array to be written |