Downloading files through TFTP

1 次查看(过去 30 天)
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 个评论
Egor Liokumovitch
Egor Liokumovitch 2022-12-6
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.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Test and Measurement 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by