function hTable = crl_table_sin()
% Create a code replacement library table

%% Create a table object
hTable = RTW.TflTable;

%% Create an entry 
hEntry = RTW.TflCFunctionEntry;

%% Create entry parameters
hEntry.setTflCFunctionEntryParameters(...
        'Key',                         'sin', ...
        'Priority',                    30, ...
        'ImplementationName',          'mySin', ...
        'ImplementationHeaderFile',    'basicMath.h', ...
        'ImplementationSourceFile',    'basicMath.c');

%% Create the conceptual representation
hEntry.createAndAddConceptualArg(...
        'RTW.TflArgNumeric',      ...
        'Name',                   'y1',...
        'IOType',                 'RTW_IO_OUTPUT',...
        'DataTypeMode',           'double');

hEntry.createAndAddConceptualArg(...
        'RTW.TflArgNumeric',      ...
        'Name',                   'u1', ...
        'IOType',                 'RTW_IO_INPUT',...
        'DataTypeMode',           'double');

%% Create the Conceptual Representation
hEntry.copyConceptualArgsToImplementation();

%% Add the entry to the table
hTable.addEntry(hEntry);
