Implement FTP client in Simulink

Hi
I am working on a multi-robot system and part of the code is written in Simulink. I would like to connect this code with my phone using an FTP server. The idea is to access the phone over IP, look for the right folder and download one of the files. The following Matlab code provides the basic idea
ftpobj = ftp('192.168.3.179:2221');
cd(ftpobj,'STP/space-weather');
listing = dir(ftpobj);
mget(ftpobj,'README.txt');
I try to use this code inside my Simulink model without success. The FTP function is not supported by code generation. I also try to use coder.excentric but this was also a failure.
I am looking for a solution to connect a Simulink model to an FTP server, any idea?
Thank you

답변 (0개)

카테고리

도움말 센터File Exchange에서 Downloads에 대해 자세히 알아보기

제품

릴리스

R2018a

태그

질문:

2018년 11월 25일

Community Treasure Hunt

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

Start Hunting!

Translated by