MATLAB: After doing preprcessing in image how can creat .mat files for this images

image processingImage Processing Toolboxneural networkvehicle network toolbox

hi every one…i doing pre-processing in images (median filter and canny edge detection now i want to store this images in .mat files to enter this files into Neural network how can do this??what the dimintions will creat in this files?am i correct???how to creat Target and input matrix in .mat files?? plz help me

Best Answer

Use save() to save images or any other variables into a mat file. The help for save() has examples to help you.