Downloading files through TFTP

1 回表示 (過去 30 日間)
Egor Liokumovitch
Egor Liokumovitch 2022 年 12 月 6 日
コメント済み: Egor Liokumovitch 2022 年 12 月 6 日
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 Center および File ExchangeTest and Measurement についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by