Files
Ray Speth e453261f6e [MATLAB] Move toolbox into "ct" namespace
Remove "ct" prefix from public functions
2025-11-09 21:39:10 -05:00

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