Problem 3046. I want to know everything!
I am always a little bit paranoid.
Now, I want to know what my co-workers do with my MATLAB when I am not here.
Find (it is not necessary to guess) functions used just before the call to the function and return a cell with the names.
For example:
a=magic(10);
b=rot90(a);
f=find_last_fcn()
assert(ismember('magic',f))
assert(ismember('rot90',f))
Can I trust you ?
Solution Stats
Problem Comments
-
6 Comments
Show
3 older comments
Jean-Marie Sainthillier
on 26 Feb 2015
I removed the first test. Everything is under control now (and more easy) !
Jean-Marie Sainthillier
on 26 Feb 2015
For information, the first test was assert(isequal(find_last_fcn(),{}))
James
on 27 Feb 2015
Just fire up MATLAB on a VAX system after starting a photo file if you're THAT paranoid. :-)
Solution Comments
Show commentsProblem Recent Solvers11
Suggested Problems
-
13604 Solvers
-
17957 Solvers
-
969 Solvers
-
305 Solvers
-
Matrix with different incremental runs
127 Solvers
More from this Author43
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!