Split uigetdir line into two or more lines

2 vues (au cours des 30 derniers jours)
monkey_matlab
monkey_matlab le 21 Nov 2016
Réponse apportée : KSSV le 22 Nov 2016
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

Réponse acceptée

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

Plus de réponses (0)

Tags

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by