Skip to content

Commit

Permalink
sc (debug AWGwatch at setup)
Browse files Browse the repository at this point in the history
  • Loading branch information
M-superposition authored and terrorfisch committed Aug 22, 2018
1 parent 180b7ae commit e787690
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions MATLAB/+qc/AWGwatch.m
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ function AWGwatch()

disp('AWGwatch - app is started');

% the app is not on path because matlab then has problems debugging it,
% therefore the path is changes and after app start changed back
currentPath = cd;
% the app is not on path +qc because matlab then one has problems debugging it
pathOfApp = which('qc.AWGwatch');
pathOfApp = pathOfApp(1:end-10);
cd(pathOfApp);
pathOfApp = [pathOfApp 'AWGwatch'];
addpath(pathOfApp);

awgdisp_app();
cd(currentPath);
end
Binary file modified MATLAB/+qc/AWGwatch/awgdisp_app.mlapp
Binary file not shown.

0 comments on commit e787690

Please sign in to comment.