views:

33

answers:

1

I'm collecting data and would like to plot the results in Matlab as they're being collected. However it seems like the file would be locked while my scripts are running. Does anyone know if the Linux version of Matlab acts differently when it opens files, and leaves them writeable by other processes?

+1  A: 

I think what you need is Memory Mapping. It allows other applications to share the same data file with MATLAB.

See MATLAB documentation on Memory Mapping and how to create MEMMAPFILE object.

yuk

related questions