MATLAB: How a program can call to itself without using function.

program calling itself

I have to execute a program which is calling itself if an particular condition satisfies, without making that program as function.

Best Answer

Code, which calls itself controlled by a condition without being a function, sounds as a while loop.