-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathfinish.nls
17 lines (17 loc) · 984 Bytes
/
finish.nls
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
%=============================================================================
% Copyright (c) 2018-present Allan CORNET (Nelson)
%
% This file is released under the 3-clause BSD license. See COPYING-BSD.
%=============================================================================
% remove C/C++ gateway
MODULE_NAME = 'module_skeleton';
removegateway([fileparts(nfilename('fullpath')), '/../builtin/', [MODULE_NAME, '_builtin'], getdynlibext()]);
%=============================================================================
% remove C/C++ code associated to the previous gateway
run([fileparts(nfilename('fullpath')), '/../src/unloader.nls']);
%=============================================================================
% remove macros
rmpath([fileparts(nfilename('fullpath')), '/../functions']);
%=============================================================================
clear('MODULE_NAME');
%=============================================================================