Hi,
I would like to find a way to tell my code that if at the end of the loop the matrix 'P' exists then to save it, if not to continue the loop. I wrote that:
z=exist('P','var') if z>0 save end
It is wroking but, is it a good way to write it?
Cheers
Best Answer