MATLAB Answers

Error in running "load topo" in MATLAB 2015a

4 views (last 30 days)
Mehdi on 24 Sep 2015
Commented: Walter Roberson on 24 Sep 2015
Hi everyone,
My code, designed in MATLAB 2013a, contains:
load topo
which works fine but I get the following error when I run it in MATLAB 2015a:
Error using load
Unable to read file 'topo'. No such file or directory.
Error in anim_groundtrk (line 63)
How can I resolve this? Thank you for your help.
  1 Comment
Walter Roberson
Walter Roberson on 24 Sep 2015
What happens if you ask
which topo.mat
You would expect to see it in the directory computed by
fullfile(matlabroot, 'toolbox/matlab/demos/topo.mat')

Sign in to comment.

Answers (0)


Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!