Skip to content

Instantly share code, notes, and snippets.

@wx13
Created August 9, 2012 23:08
Show Gist options
  • Save wx13/3308884 to your computer and use it in GitHub Desktop.
Save wx13/3308884 to your computer and use it in GitHub Desktop.
read octave code in from a named pipe
f = fopen('blah','r'); while ~feof(f); line = fgetl(f); eval(line); fflush(stdout); end; fclose(f);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment