I would like to have multiple functions in one .m file. Is this doable?
I tested with a file mytest.m that contains two functions.
function mytest()
disp('my test');
end
function tst()
disp('my test 2');
end
From another file, I can call the mytest function, but if I try to call tst, I get an error message saying tst is undefined.