Downloading files through TFTP

1 view (last 30 days)
Egor Liokumovitch
Egor Liokumovitch on 6 Dec 2022
Hello,
I have a ZYBO Z7 board that I connected to MATLAB through instrument control toolbox TCPIP, and can communicate with.
There are files on that board that I want to transfer through ethernet. The device features a TFTP.
I can download the files by writing
tftp -i 192.168.178.100 get dmafiles-0
in windows cmd.
Can I somehow do this through MATLAB? I want to build a small GUI for my application which would download these files with a button press, but I don't know how to address this.
  1 Comment
Egor Liokumovitch
Egor Liokumovitch on 6 Dec 2022
Solved from MATLAB's help:
command = 'tftp -i 192.168.178.100 get dmafiles-2';
status = system(command)
Downloads the file to directory.
Too bad MATLAB is essensially locked in waiting until the command finishes, i.e. I can't do anything else while the files are transfering.

Sign in to comment.

Answers (0)

Categories

Find more on Test and Measurement in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!