extracting file from desktop to current folder

1 回表示 (過去 30 日間)
Urvashi
Urvashi 2022 年 9 月 12 日
回答済み: Ankit 2022 年 9 月 12 日
I want to extract file from desktop into current folder by using script . how can I do that?

回答 (1 件)

Ankit
Ankit 2022 年 9 月 12 日
Read more about movefile in the following link: Move or rename file or folder - MATLAB movefile - MathWorks Deutschland
source = 'C:\Users\Desktop\xyz.pdf';
destination = pwd;
movefile(source,destination)

カテゴリ

Help Center および File ExchangeDesktop についてさらに検索

製品


リリース

R2016b

Community Treasure Hunt

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

Start Hunting!

Translated by