I am outputting huge ammounts of 'node disp recorder ' and I am using binary file output to minimize disk usage. I haven't been able to figure out the format of this output though to read it back into some other code for plotting.
What is the output format for the binary mode recorders?
Thanks!
Reading recorder -binary output
Moderators: silvia, selimgunay, Moderators
Re: Reading recorder -binary output
If you are using MatLab for plotting, you can read data of binary files by using fread command. Check this:
http://www.mathworks.com/help/techdoc/ref/fread.html
http://www.mathworks.com/help/techdoc/ref/fread.html
Re: Reading recorder -binary output
Thank you!
I am using python (matplotlib) inspired in MatLab for plotting.
After a few tests I found out that even though the output is binary (doubles) the recorder still outputs a newline '\n' character before starting a new time. This could be helpful to anyone out there not willing to read the source code.
Best luck!
JA
I am using python (matplotlib) inspired in MatLab for plotting.
After a few tests I found out that even though the output is binary (doubles) the recorder still outputs a newline '\n' character before starting a new time. This could be helpful to anyone out there not willing to read the source code.
Best luck!
JA