Split uigetdir line into two or more lines

1 次查看(过去 30 天)
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

采纳的回答

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

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Get Started with MATLAB 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by