MATLAB编码器功能——通过类别
按字母顺序列表
按类别
MATLAB编程代码生成
数据定义
阵列布局
codegen |
从MATLAB代码生成C / c++代码 |
coder.ceval |
调用外部C / c++函数 |
coder.columnMajor |
为一个函数或类指定数组列为主的布局 |
coder.isColumnMajor |
确定当前函数或变量使用列为主的布局 |
coder.isRowMajor |
确定当前函数或变量使用行布局 |
coder.rowMajor |
为一个函数或类指定行阵列布局 |
coder.CodeConfig |
配置参数C / c++代码生成从MATLAB代码 |
coder.MexCodeConfig |
配置参数为墨西哥人从MATLAB函数生成的代码 |
coder.EmbeddedCodeConfig |
配置参数C / c++代码生成从MATLAB代码与嵌入式编码器 |
适应数据
coder.varsize |
声明适应可变数组 |
结构
coder.cstructname |
名字C结构类型生成的代码 |
细胞数组
coder.varsize |
声明适应可变数组 |
coder.cstructname |
名字C结构类型生成的代码 |
coder.CellType |
代表的MATLAB细胞阵列 |
MATLAB类
coder.ClassType |
表示组MATLAB类 |
函数定义
coder.extrinsic |
申报非本征函数或函数 |
coder.ignoreConst |
防止使用常数的表达式值函数的专门化 |
coder.unroll |
展开循环复制的每个循环迭代循环体 |
代码生成
MATLAB代码分析
codegen |
从MATLAB代码生成C / c++代码 |
coder.runTest |
运行测试用呼吁墨西哥人代替调用MATLAB函数功能 |
coder.screener |
确定函数适用于代码生成 |
输入规格
coder.getArgTypes |
确定类型的函数输入参数通过运行测试文件 |
coder.newtype |
创建一个编码器。类型的对象 |
coder.resize |
调整一个编码器。类型的对象 |
coder.typeof |
创建编码器。类型的对象to represent the type of an entry-point function input |
coder.varsize |
声明适应可变数组 |
coder.ArrayType |
代表的MATLAB数组 |
coder.CellType |
代表的MATLAB细胞阵列 |
coder.ClassType |
表示组MATLAB类 |
coder.Constant |
代表设置包含一个MATLAB值 |
coder.EnumType |
代表的MATLAB枚举集 |
coder.FiType |
代表的MATLAB定点数组 |
coder.PrimitiveType |
代表的一组逻辑、数字或字符数组 |
coder.StructType |
代表的MATLAB结构数组 |
coder.Type |
表示组MATLAB的值 |
构建配置
coder.config |
创建MATLAB编码器代码生成配置对象 |
coder.updateBuildInfo |
更新对象RTW.BuildInfo构建信息 |
coder.MexCodeConfig |
配置参数为墨西哥人从MATLAB函数生成的代码 |
coder.CodeConfig |
配置参数C / c++代码生成从MATLAB代码 |
coder.EmbeddedCodeConfig |
配置参数C / c++代码生成从MATLAB代码与嵌入式编码器 |
coder.HardwareImplementation |
特定于硬件的配置参数C / c++代码生成从MATLAB代码 |
自定义工具链登记
coder.make.BuildConfiguration |
代表构建配置 |
coder.make.BuildItem |
代表建设项 |
coder.make.BuildTool |
代表构建工具 |
coder.make.ToolchainInfo |
代表定制工具链 |
生成代码
编码器 |
开放的MATLAB编码器的应用 |
codegen |
从MATLAB代码生成C / c++代码 |
coder.allowpcode |
从保护MATLAB文件控制代码生成 |
coder.ceval |
调用外部C / c++函数 |
coder.cinclude |
头文件包含在生成的代码 |
coder.config |
创建MATLAB编码器代码生成配置对象 |
coder.cstructname |
名字C结构类型生成的代码 |
coder.extrinsic |
申报非本征函数或函数 |
coder.load |
编译时常量MAT-file或ASCII文件加载到调用者的工作区 |
coder.newtype |
创建一个编码器。类型的对象 |
coder.nullcopy |
声明未初始化变量 |
coder.opaque |
在生成的代码中声明变量 |
coder.ref |
显示数据以引用的方式传递 |
coder.resize |
调整一个编码器。类型的对象 |
coder.rref |
显示只读数据以引用的方式传递 |
coder.target |
确定代码生成目标是指定的目标 |
coder.typeof |
创建编码器。类型的对象to represent the type of an entry-point function input |
coder.varsize |
声明适应可变数组 |
coder.wref |
显示数据只写以引用的方式传递 |
外部代码集成
coder.ExternalDependency |
接口,外部代码 |
coder.BuildConfig |
在代码生成构建上下文 |
coder.ceval |
调用外部C / c++函数 |
coder.ref |
显示数据以引用的方式传递 |
coder.rref |
显示只读数据以引用的方式传递 |
coder.wref |
显示数据只写以引用的方式传递 |
coder.cinclude |
头文件包含在生成的代码 |
coder.opaque |
在生成的代码中声明变量 |
coder.updateBuildInfo |
更新对象RTW.BuildInfo构建信息 |
代码验证
codegen |
从MATLAB代码生成C / c++代码 |
coder.config |
创建MATLAB编码器代码生成配置对象 |
coder.HardwareImplementation |
特定于硬件的配置参数C / c++代码生成从MATLAB代码 |
coder.MexCodeConfig |
配置参数为墨西哥人从MATLAB函数生成的代码 |
coder.CodeConfig |
配置参数C / c++代码生成从MATLAB代码 |
coder.EmbeddedCodeConfig |
配置参数C / c++代码生成从MATLAB代码与嵌入式编码器 |
部署
coder.ceval |
调用外部C / c++函数 |
coder.cinclude |
头文件包含在生成的代码 |
性能
代码生成时间
coder.ceval |
调用外部C / c++函数 |
执行速度
parfor |
并行循环 |
coder.varsize |
声明适应可变数组 |
coder.const |
表达式折叠成常量在生成的代码 |
coder.inline |
控制在生成的代码内联 |
coder.unroll |
展开循环复制的每个循环迭代循环体 |
coder.ceval |
调用外部C / c++函数 |
coder.LAPACKCallback |
抽象类用于指定LAPACK图书馆和LAPACKE LAPACK调用头文件在生成的代码 |
coder.fftw.StandaloneFFTW3Interface |
抽象类指定一个FFTW图书馆FFTW调用生成的代码 |
内存使用情况
coder.inline |
控制在生成的代码内联 |
coder.const |
表达式折叠成常量在生成的代码 |
coder.ceval |
调用外部C / c++函数 |
coder.Constant |
代表设置包含一个MATLAB值 |
coder.ExternalDependency |
接口,外部代码 |
MATLAB算法加速
codegen |
从MATLAB代码生成C / c++代码 |
数字转换
定点转换
coder.FixptConfig |
浮点定点转换配置对象 |
编码器 |
开放的MATLAB编码器的应用 |
codegen |
从MATLAB代码生成C / c++代码 |
coder.config |
创建MATLAB编码器代码生成配置对象 |
coder.approximation |
创建函数替换配置对象 |
单精度转换
coder.SingleConfig |
双精度单精度转换配置对象 |
编码器 |
开放的MATLAB编码器的应用 |
codegen |
从MATLAB代码生成C / c++代码 |
coder.config |
创建MATLAB编码器代码生成配置对象 |
这个主题有帮助吗?