Run Script file from Matlab
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I've got a few scripts that I'm currently running in VBA to push files to an FTP site. That said, I am no longer doing any of the work in Excel, so running the VBA code to launch the scrips is a pain. My VBA code is essentially replicating a batch file using a Shell command. I'm wondering if I can utilize similar functionality using Matlab. An example of my VB code would be.
Shell(ftp -n -s:"\\lbprds0262\vol3\Eqprod\FactorModel\BB_BMK_SHS_ftp.scr")
Thanks a lot
0 Kommentare
Akzeptierte Antwort
Jacob Halbrooks
am 16 Mär. 2012
Try using MATLAB's FTP function.
doc ftp
2 Kommentare
Jacob Halbrooks
am 29 Mär. 2012
It is expected that the variable will remain after executing close. If you want the variable gone, use clear after you've used close.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Introduction to Installation and Licensing finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!