Matlab Help naming folder according to user input,

9 vues (au cours des 30 derniers jours)
Ethar Alkamil
Ethar Alkamil le 27 Fév 2019
Commenté : Ethar Alkamil le 27 Fév 2019
The problem is that the created folder carry the variable name (B) not its value 'Project', I am wondering if you can help me to fix that, please
Here is my Code:
A = 'Project';
B = convertCharsToStrings(A);
mkdir B

Réponse acceptée

Walter Roberson
Walter Roberson le 27 Fév 2019
  4 commentaires
Walter Roberson
Walter Roberson le 27 Fév 2019
mkdir( fullfile(A, B) )
Ethar Alkamil
Ethar Alkamil le 27 Fév 2019
Wonderful
Thanks Walter

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Creating, Deleting, and Querying Graphics Objects dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by