Run Script file from Matlab
5 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
Jacob Halbrooks
2012-3-16
Try using MATLAB's FTP function.
doc ftp
2 个评论
Jacob Halbrooks
2012-3-29
It is expected that the variable will remain after executing close. If you want the variable gone, use clear after you've used close.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!