Main Content

RTW.TflCFunctionEntryML Class

Namespace: RTW

Custom code replacement table function entry

Description

Represent a custom code replacement function entry. Derive a subclass from RTW.TflCFunctionEntryML and, in the subclass, implement a do_match method that specifies the match criteria for the code replacement entry.

classdef TflCustomFunctionEntry < RTW.TflCFunctionEntryML
  methods
    function ent = do_match(hThis, ...
        hCSO, ... %#ok
        targetBitPerChar, ... %#ok
        targetBitPerShort, ... %#ok
        targetBitPerInt, ... %#ok
        targetBitPerLong, ... %#ok
        targetBitPerLongLong) %#ok

        % Implement custom do_match function

      end
    end
  end
end

Creation

Description

classdef TflCustomFunctionEntry < RTW.TflCFunctionEntryML creates a subclass for creating custom function entry objects.

Version History

Introduced in R2010a