Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- % Contents of /fooBar/@foo/foo.m
- function x = foo()
- x = class("foo");
- endfunction
- % Example of the problem
- cd /fooBar/
- x = foo(); % this works!
- cd /baz/
- addpath("/fooBar")
- x = foo(); % this doesn't work, generates error "no such file, `/baz/@foo/foo.m'"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement