Page 1 of 1

Writing data to an external file from a MOD file

Posted: Wed Jul 18, 2007 9:22 am
by vcut
Hi,

is it possible from within a .mod file to write data to an external file? For instance, from within a .mod file I can use the "printf" to write the values of the estimated current to the screen. So instead of writing the data to the screen, I want to write them to a file named "data.txt". Is it possible?

Many thanks in advance.

V.

Posted: Wed Jul 18, 2007 10:12 am
by vcut
Nevermind. I figured it out. Sorry for the harrashment.

V.