Matlab Help naming folder according to user input,

4 ビュー (過去 30 日間)
Ethar Alkamil
Ethar Alkamil 2019 年 2 月 27 日
コメント済み: Ethar Alkamil 2019 年 2 月 27 日
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

採用された回答

Walter Roberson
Walter Roberson 2019 年 2 月 27 日
  4 件のコメント
Walter Roberson
Walter Roberson 2019 年 2 月 27 日
mkdir( fullfile(A, B) )
Ethar Alkamil
Ethar Alkamil 2019 年 2 月 27 日
Wonderful
Thanks Walter

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeCreating, Deleting, and Querying Graphics Objects についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by