MATLAB - Error writing to file using jpeg_write
问题 Recently I added jpeg toolbox to Matlab for Mac OS. for jpeg_read.mexmaci64 I followed this and for jpeg_write.mexmaci64 this. everything was fine but at runtime I got an error like this: Error using jpeg_write Error writing to file. I don't know why Matlab returns this and how Im supposed to fix it. when I compiled jpeg_write.c file to create jpeg_write.mexmaci64, mex operation completed successfully but there was a warning like this. maybe its relevant to the error. Building with 'Xcode