>> testscript ordfun: 1.000000 fh_anon: -0.000000 privfun: 1.000000 subfun: 1.000000 pkgfun: 1.000000 myclass.lcl: 1.000000 myclass.stat_meth: 1.000000 myclass.meth: 13.000000 functions (fh_anon): ans = struct with fields: function: '@(x)fprintf('fh_anon: %f\n',sin(a*x))' type: 'anonymous' file: '/home/siko1056/Downloads/fhdl-tests/testscript.m' workspace: {[1×1 struct]} within_file_path: 'testscript' functions (fh_priv): ans = struct with fields: function: 'privfun' type: 'scopedfunction' file: '/home/siko1056/Downloads/fhdl-tests/main-dir/private/privfun.m' parentage: {'privfun'} functions (fh_ord): ans = struct with fields: function: 'ordfun' type: 'simple' file: '/home/siko1056/Downloads/fhdl-tests/main-dir/ordfun.m' functions (fh_sub): ans = struct with fields: function: 'subfun' type: 'scopedfunction' file: '/home/siko1056/Downloads/fhdl-tests/main-dir/ordfun.m' parentage: {'subfun' 'ordfun'} functions (fh_set): ans = struct with fields: function: 'ordfun/set_a' type: 'nested' file: '/home/siko1056/Downloads/fhdl-tests/main-dir/ordfun.m' workspace: {[1×1 struct]} functions (fh_get): ans = struct with fields: function: 'ordfun/get_a' type: 'nested' file: '/home/siko1056/Downloads/fhdl-tests/main-dir/ordfun.m' workspace: {[1×1 struct]} functions (fh_missing): ans = struct with fields: function: 'nonexistent_fun' type: 'simple' file: '' functions (fh_pkg): ans = struct with fields: function: 'mypkg.pkgfun' type: 'simple' file: '' functions (fh_lcl): ans = struct with fields: function: 'lcl' type: 'scopedfunction' file: '/home/siko1056/Downloads/fhdl-tests/main-dir/myclass.m' parentage: {'lcl' 'myclass.myclass%fromTopLevel'} functions (fh_stat_meth): ans = struct with fields: function: 'myclass.stat_meth' type: 'simple' file: '' functions (fh_meth): ans = struct with fields: function: 'meth' type: 'classsimple' file: '' class: 'myclass' fh_anon: -0.000000 ordfun: 1.000000 privfun: 1.000000 subfun: 1.000000 other-dir/nonexistent_fun: 1.000000 pkgfun: 1.000000 myclass.lcl: 1.000000 myclass.stat_meth: 1.000000 myclass.meth: 13.000000 functions (fh_anon): ans = struct with fields: function: '@(x)fprintf('fh_anon: %f\n',sin(a*x))' type: 'anonymous' file: '/home/siko1056/Downloads/fhdl-tests/testscript.m' workspace: {[1×1 struct]} within_file_path: 'testscript' functions (fh_ord): ans = struct with fields: function: 'ordfun' type: 'simple' file: '/home/siko1056/Downloads/fhdl-tests/main-dir/ordfun.m' functions (fh_priv): ans = struct with fields: function: 'privfun' type: 'scopedfunction' file: '/home/siko1056/Downloads/fhdl-tests/main-dir/private/privfun.m' parentage: {'privfun'} functions (fh_sub): ans = struct with fields: function: 'subfun' type: 'scopedfunction' file: '/home/siko1056/Downloads/fhdl-tests/main-dir/ordfun.m' parentage: {'subfun' 'ordfun'} functions (fh_set): ans = struct with fields: function: 'ordfun/set_a' type: 'nested' file: '/home/siko1056/Downloads/fhdl-tests/main-dir/ordfun.m' workspace: {[1×1 struct]} functions (fh_get): ans = struct with fields: function: 'ordfun/get_a' type: 'nested' file: '/home/siko1056/Downloads/fhdl-tests/main-dir/ordfun.m' workspace: {[1×1 struct]} functions (fh_missing): ans = struct with fields: function: 'nonexistent_fun' type: 'simple' file: '' functions (fh_pkg): ans = struct with fields: function: 'mypkg.pkgfun' type: 'simple' file: '' functions (fh_lcl): ans = struct with fields: function: 'lcl' type: 'scopedfunction' file: '/home/siko1056/Downloads/fhdl-tests/main-dir/myclass.m' parentage: {'lcl' 'myclass.myclass%fromTopLevel'} functions (fh_stat_meth): ans = struct with fields: function: 'myclass.stat_meth' type: 'simple' file: '' functions (fh_meth): ans = struct with fields: function: 'meth' type: 'classsimple' file: '' class: 'myclass'