Downloading files through TFTP

1 Ansicht (letzte 30 Tage)
Egor Liokumovitch
Egor Liokumovitch am 6 Dez. 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 Kommentar
Egor Liokumovitch
Egor Liokumovitch am 6 Dez. 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.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Test and Measurement finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by