필터 지우기
필터 지우기

Using variable value to name a folder

조회 수: 4 (최근 30일)
hdiba
hdiba 2016년 4월 25일
댓글: hdiba 2016년 4월 25일
hi, i have a variable called Name in workspace and would like to save a table to csv using the Name value. Example: Name=4205; writetable(T,?????);
name of output file should be 4205.csv
thanks!

채택된 답변

Azzi Abdelmalek
Azzi Abdelmalek 2016년 4월 25일
편집: Azzi Abdelmalek 2016년 4월 25일
Name=4205;
writetable(T,sprintf('%d.csv',Name));

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Tables에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by