Skip to content

Commit 99a91d0

Browse files
committed
Using returned id to run updated app
1 parent 97ed620 commit 99a91d0

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/main/matlab/main.m

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@ function main()
1111
if isUpdate
1212
p = appbox.UpdatePresenter(updater);
1313
p.goWaitStop();
14-
if p.result
15-
matlab.apputil.run('SymphonyAPP');
14+
id = p.result;
15+
if ~isempty(id)
16+
matlab.apputil.run(id);
1617
return;
1718
end
1819
end

0 commit comments

Comments
 (0)