forked from Cantera/cantera
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplified test set up and tear down methods
- Loading branch information
Showing
3 changed files
with
6 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,4 @@ | ||
clear all | ||
|
||
cantera_root = getenv('CANTERA_ROOT'); | ||
|
||
if ispc | ||
ctName = '/test/matlab_experimental/cantera_shared.dll'; | ||
elseif ismac | ||
ctname = '/test/matlab_experimental/libcantera_shared.dylib'; | ||
elseif isunix | ||
ctname = '/test/matlab_experimental/libcantera_shared.so'; | ||
end | ||
|
||
% Unload Cantera and remove temporary library file | ||
% Unload Cantera | ||
unloadlibrary('libcantera_shared'); | ||
delete([cantera_root, ctName]); | ||
|
||
disp('Cantera has been unloaded'); |