Matlab Help naming folder according to user input,

5 visualizaciones (últimos 30 días)
Ethar Alkamil
Ethar Alkamil el 27 de Feb. de 2019
Comentada: Ethar Alkamil el 27 de Feb. de 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

Respuesta aceptada

Walter Roberson
Walter Roberson el 27 de Feb. de 2019
  4 comentarios
Walter Roberson
Walter Roberson el 27 de Feb. de 2019
mkdir( fullfile(A, B) )
Ethar Alkamil
Ethar Alkamil el 27 de Feb. de 2019
Wonderful
Thanks Walter

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Creating, Deleting, and Querying Graphics Objects en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by