fopen()
Opens a file and returns a file identifier. At some point the file must be closed using fclose().
Syntax:
fopen(fileName, mode);
where
fileName is a string; name of file to open.
mode is a string; type of action to perform, where:
- "W" = write
- "R" = read
- "A" = append
Example:
decl fid; fid = fopen("atest.txt", "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.
File Exists?
Get File Size
Write Permission to File?
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 ![]()