Skip to content

Commit

Permalink
Fix <model>_gen_sim_data.m functions
Browse files Browse the repository at this point in the history
Fixed the exist(ignoreConds,'var') syntax error bug.
  • Loading branch information
jdkoen committed Jun 19, 2020
1 parent 2cf6592 commit 7c2bf85
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion models/dpsd/dpsd_gen_sim_data.m
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
end

% If ignoreConds doesn't exist, set it as empty
if ~exist(ignoreConds,'var')
if ~exist('ignoreConds','var')
ignoreConds = [];
end

Expand Down
2 changes: 1 addition & 1 deletion models/uvsd/uvsd_gen_sim_data.m
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
end

% If ignoreConds doesn't exist, set it as empty
if ~exist(ignoreConds,'var')
if ~exist('ignoreConds','var')
ignoreConds = [];
end

Expand Down

0 comments on commit 7c2bf85

Please sign in to comment.