Implement FTP client in Simulink
Afficher commentaires plus anciens
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
Réponses (0)
Catégories
En savoir plus sur Downloads dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!