Skip to content
This repository has been archived by the owner on Nov 11, 2024. It is now read-only.

Commit

Permalink
[ver:] version 2.12
Browse files Browse the repository at this point in the history
  • Loading branch information
KimHe committed Jul 27, 2019
1 parent 8515a9d commit 13b14d5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
5 changes: 2 additions & 3 deletions AUTHORS.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
Eric von Lieres
Email: [email protected]

Qiaole He
Email: [email protected]

Qiao-Le (Kim) He (maintainer)
Email: [email protected]
8 changes: 6 additions & 2 deletions isSMBupdateAvailable.m
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
% ==============================================================================


updateAvailable = false;

localPath = fileparts(mfilename('fullpath'));
fprintf('Adding %s to MATLAB PATH\n', localPath);
path(localPath, path);
Expand Down Expand Up @@ -39,12 +41,14 @@
for i = 1:min(length(stableVersion), length(currentVersion))
if str2double(stableVersion(i)) > str2double(currentVersion(i))
updateAvailable = true;
fprintf('There is new version available in the GitHub: https://github.com/modsim/CADET-SMB/releases. \n');
fprintf('Newer version is available in the GitHub: https://github.com/modsim/CADET-SMB/releases. \n');
break;
end
end

fprintf('The newest version is now installed, Version %s', stableVersionString);
if ~updateAvailable
fprintf('The newest version is now installed, Version %s', stableVersionString);
end

end
% =============================================================================
Expand Down

0 comments on commit 13b14d5

Please sign in to comment.