-1

What can I do to avoid this? I saw a solution that said to use "set path" but I can't find how to do that.

Doug Null
  • 7,989
  • 15
  • 69
  • 148

1 Answers1

0

One way:

Create a file in the directory where Matlab opens called startup.m. In this file, add a line like,

addpath('path/to/include/folder1')
addpath('path/to/include/folder2')

and any other customization features you want. Maybe Google "Matlab startup example" for ideas if you're interested.

Alternatively, if you're only ever going to work in one folder, you could change the location where Matlab starts. The start folder is always added to the path.