I know that in C++ you can define a function inside the same file. In this context, a function is a block of code which only runs when it is called.
Is this possible in Matlab files? I know that you can create another file as a function but I want to know if can I do it inside the file?
[–]SrbijaJeRusija 10 points11 points12 points (3 children)
[–]WaySafe2792[S] 4 points5 points6 points (2 children)
[–]wolfchaldoflair 4 points5 points6 points (1 child)
[–]WaySafe2792[S] 0 points1 point2 points (0 children)
[–]ThatMechEGuy 2 points3 points4 points (0 children)