removefile - Remove file from target PC

Syntax

MATLAB® command line

removefile(file_obj,file_name)
file_obj.removefile(file_name)

Arguments

file_name

Name of the file to remove from the target PC file system.

file_obj

Name of the xpctarget.fs object.

Description

Method of xpctarget.fs objects. Removes a file from the target PC file system.

Examples

Remove the file data2.dat from the target PC file system fsys.

removefile(fsys,'data2.dat') 

or

fsys.removefile('data2.dat')
  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS