extracting file from desktop to current folder

2 Ansichten (letzte 30 Tage)
Urvashi
Urvashi am 12 Sep. 2022
Beantwortet: Ankit am 12 Sep. 2022
I want to extract file from desktop into current folder by using script . how can I do that?

Antworten (1)

Ankit
Ankit am 12 Sep. 2022
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)

Kategorien

Mehr zu Get Started with MATLAB finden Sie in Help Center und File Exchange

Produkte


Version

R2016b

Community Treasure Hunt

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

Start Hunting!

Translated by