fputs()

Writes a value to the file or device specified. Adds a new line, \n, at the end of the text string. Then the file must be closed using fclose(). Returns: none.

Syntax:

fputs(fileID, value);

where

fileID is the file identifier returned from fopen().

value is a string or a variable name. If a string is desired, it should be placed within quotes; if a variable name is desired, no quotes should be used.

Example:
decl fid;
fid = fopen("a test", "W");
    fputs(fid, "hello");
fclose(fid);

Download Example File:

The following link(s) lead to the Agilent EEsof EDA Knowledge center website. You will need to register at this site with a valid support contract to download an example file.

Copy File
Export a Modelcrad to a MDIF File
Modify Circle Resolution

Where Used:

Measurement Expressions (Data Display equations and Schematic MeasEqns), Schematic, Layout, Simulation, GUI

 

Privacy Statement  | Terms of Use  | Legal | Contact Us  | © Agilent 2000-2008 

Contents
Additional Resources