user1769107
user1769107

Reputation: 265

About matlab directory

My different set of data are stored in different folders in same directory. Then I used cd command to get path of each set of data. I wrote function (Max_get.m) file which use both set of images. Now what I want to ask is whether Max_get.m file can run by loading these images from different directory or all images (these 2 set of images) must be in same folder?

Thanks you all

Upvotes: 0

Views: 31

Answers (1)

Ravindra Bagale
Ravindra Bagale

Reputation: 17655

if you have given full path of image file, then it can run even these are in different folders

if you not specified full path then these are must be in working directory.

Upvotes: 1

Related Questions