Skip to content

CaliAli save chunk

function CaliAli_save_chunk(filename, Y)

Description

CaliAli_save_chunk: Save or append video data to a .mat file in chunks.

Function Inputs:
Parameter Name Type Description
filename String String specifying the file path to save or append data.
Y 3D Array 3D array containing the video data to be stored.
Function Outputs:
Parameter Name Type Description
Example usage:
CaliAli_save_chunk('output.mat', Y);

Notes:

  • If the file exists, new data is appended along the third dimension.
  • If the file does not exist, a new file is created with '-v7.3' format.
  • No compression is used to optimize read/write speed.