diff options
author | Eugeniy Mikhailov <evgmik@gmail.com> | 2012-09-18 08:39:28 -0400 |
---|---|---|
committer | Eugeniy Mikhailov <evgmik@gmail.com> | 2012-09-18 08:39:28 -0400 |
commit | a30548fd5712d8a5ab8b046eaa33269e07fcff08 (patch) | |
tree | 7b4511e1cafca4893e9ecb8a850be7933a8ad31d | |
parent | 311829199dd9ef7bb84c7c95c5e5be1572c91704 (diff) | |
download | beam_profiler-a30548fd5712d8a5ab8b046eaa33269e07fcff08.tar.gz beam_profiler-a30548fd5712d8a5ab8b046eaa33269e07fcff08.zip |
when we call system we assign result and status
This good since we can use it later and also suppresses output from the
grabber which fills the matlab command window.
-rw-r--r-- | gui_win.m | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -116,7 +116,7 @@ global image_name; global image_display; global image_original; run_string = horzcat('grabNimages_1394cam.exe -s ',num2str(get(handles.readshutterspeed,'String')),' -n ',num2str(get(handles.readnumber,'String'))); -system(run_string); +[status,result] = system(run_string); img=imread(image_name); image_display=double(img); image_original=image_display; |