matlab - How to run system commands in Octave for OPM flow reservoir simulator? -


i research in oil simulation, use simulator called eclipse company called schlumberger , able use scripts matlab using following command.

 % file name 'icfm.data';   system(['eclrun',' eclipse ', c:path\icfm.data]); % command run eclipse 

now had installed new free simulator (opm.org) in linux , using octave programming. unable find out how run simulator octave.

the simulator can run writing

flow icfm.data 

and results using command

ecl_summary icfm.data 

i want able run , results in octave have not being able in matlab.

any suggestions? someone?

assuming both flow , ecl_summary commands on system path (i.e. "linux" path, not in octave), should matter of:

system('flow /my/path/to/icfm.data'); system('ecl_summary /my/path/to/icfm.data'); 

(where should change /my/path/to whatever path data file in).


Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -