代码之家  ›  专栏  ›  技术社区  ›  Brannon

matlab编译为C:检测slbuild与编码器

  •  0
  • Brannon  · 技术社区  · 7 年前

    slbuild

    classdef MyFilter
      properties (Constant)
         maxArraySizeDim1 = 3000 if slbuild or simulink is running else 65535;
         maxArraySizeDim2 = 3000 if slbuild or simulink is running else 65535;
    

    我可以在调用之前设置一些变量吗 codegen 在这里使用?

    0 回复  |  直到 7 年前