Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Binary file read/write in Tcl/tk?

Status
Not open for further replies.

walkabout

Programmer
Sep 16, 2001
1
US
I folks... I have a quick question.

The following is supported on MATLAB (or could do in C-code), but not sure if capability to read/write binary files exists in Tcl/tk.
Does anyone know?
Has anyone implemented this?

(I have only read/write ascii files using Tcl/tk)

for example MATLAB has:
File opening and closing.
fopen - Open file.
fclose - Close file.

Binary file I/O.
fread - Read binary data from file.
fwrite - Write binary data to file.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top