| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → xPC Target |
| Contents | Index |
| Learn more about xPC Target |
MATLAB command line
put(file_obj,file_name) file_obj.put(file_name)
file_obj | Name of the xpctarget.ftp object. |
file_name | Name of the file to copy to the target PC. |
Method of xpctarget.ftp objects. Copies a file from the host PC to the target PC. file_name must be a file in the current folder of the host PC. The method writes file_name to the target PC disk.
put might be slower than the get operation for the same file. This is expected behavior.
Copy the file data2.dat from the current folder of the host PC to the current folder of the target PC FTP object f.
put(f,'data2.dat')
or
fsys.put('data2.dat')xPC Target file object methods dir and get (ftp).
![]() | mkdir | pwd | ![]() |

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |