I want to write a function that does some image processing and writes the processed images to files. I don’t want it to return anything. I can always return a dummy variable which can be ignored, but I’d like to keep my code clean. How can I achieve this in MATLAB?
Share
Yes.
will return nothing. An even simpler version:
is equivalent.