主要内容

本页采用了机器翻译。点击此处可查看最新英文版本。

RTW.TflCFunctionEntryML 类

命名空间: RTW

自定义代码替换表函数入口

描述

表示自定义代码替换函数入口。从 RTW.TflCFunctionEntryML 派生一个子类,并在子类中实现一个 do_match 方法,该方法指定代码替换条目的匹配条件。

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

创建对象

描述

classdef TflCustomFunctionEntry < RTW.TflCFunctionEntryML 创建一个用于创建自定义函数入口对象的子类。

版本历史记录

在 R2010a 中推出