Split uigetdir line into two or more lines

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

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

More Answers (0)

Products

Tags

Asked:

on 21 Nov 2016

Answered:

on 22 Nov 2016

Community Treasure Hunt

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

Start Hunting!