Clear Filters
Clear Filters

Split uigetdir line into two or more lines

2 views (last 30 days)
Hello,
I am trying to split a uigetdir line into two lines like this:
datapath = uigetdir('C:\Users\bossman\Desktop\LaTeX\FAU\EEL_6935_FALL_2016\' ...
'Computer_Assign_1\Matlab','Select path of TRAINING IMAGES');
but I get the error:
Unexpected MATLAB expression.
Can you tell me how to split this uigetdir line?
Thanks

Accepted Answer

KSSV
KSSV on 22 Nov 2016
datapath = uigetdir(['C:\Users\bossman\Desktop\LaTeX\FAU\EEL_6935_FALL_2016\' ...
'Computer_Assign_1\Matlab'],'Select path of TRAINING IMAGES');

More Answers (0)

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Tags

Products

Community Treasure Hunt

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

Start Hunting!