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

Respuestas (0)

Categorías

Más información sobre Downloads en Centro de ayuda y File Exchange.

Productos

Versión

R2018a

Etiquetas

Preguntada:

el 25 de Nov. de 2018

Community Treasure Hunt

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

Start Hunting!

Translated by