Raptor:Data Logging File Remove
Return to the main Raptor page
Description
This block removes a file when given its hardware resource and a path to the file to be removed. The block will indicate whether or not the file was successfully deleted.
The "Path" input will provide the required volume identifier (drive letter) assigned to the USB device by the operating system. This identifier must precede the path to the file to be removed. This is typically done using a raptor printf block to assemble the absolute path to the file.
Note: Simulink String blocks are not compatible with Raptor blocks. Please use Raptor String blocks.
Inputs
Input | Type | Description |
---|---|---|
Path | String | Specifies the path of the file to remove. Must include the drive letter. |
Outputs
Output | Type | Description |
---|---|---|
Success | boolean | Output indicates if the file was successfully removed. |
Parameters
Parameter | Type | Description |
---|---|---|
Resource | Specify the resource which contains the file to remove. |