
Function s = lasterrorstring
calls lasterror() and returns a string with
the error message and call stack in a format
similar to the one printed by warning(...).
The function is useful e.g. for:
try,
....
catch,
printf(lasterrorstring);
end_try_catch;
(c) 2026 fabien van mook
2026.08.20 release of this file within package "fvm-miscellaneous" under GNU GPLv3+