fput

Put data to a file.

Syntax

status = fput ( data , fileHandle ) ;

Arguments

list data

handle fileHandle

Return Value

str status

Exceptions

%ARGUMENT : Invalid arguments. Usage: status = fput ( data , fileHandle ) ;

%FILE : Invalid file handle

%BOUNDS : Subscript is out of bounds

Description

hello

Examples

To execute the example below, press or modify the example to try different variations.

Related Links

put , puts , fputs , get , gets , fgets , fget