mirror of
https://github.com/Cantera/cantera.git
synced 2026-08-02 01:27:57 -05:00
18 lines
528 B
Matlab
18 lines
528 B
Matlab
function ctTestSetUp()
|
|
% ctTestSetUp
|
|
% Configure paths for running the Cantera MATLAB unit tests and
|
|
% load the Cantera C library.
|
|
|
|
thisFile = mfilename('fullpath');
|
|
canteraRoot = fileparts(fileparts(fileparts(thisFile)));
|
|
|
|
addpath(genpath(fullfile(canteraRoot, 'interfaces', 'matlab')));
|
|
addpath(genpath(fullfile(canteraRoot, 'test', 'data')));
|
|
addpath(genpath(fullfile(canteraRoot, 'test', 'matlab')));
|
|
|
|
if ~ct.isLoaded
|
|
ct.load();
|
|
end
|
|
ct.makeDeprecationWarningsFatal();
|
|
end
|