extracting file from desktop to current folder

I want to extract file from desktop into current folder by using script . how can I do that?

Answers (1)

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)

Categories

Find more on Application Deployment in Help Center and File Exchange

Products

Release

R2016b

Asked:

on 12 Sep 2022

Answered:

on 12 Sep 2022

Community Treasure Hunt

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

Start Hunting!