simulink-stateow 使用及代码优化
目录
simulink-stateow 使用及代码优化............................................................................................... 1
一、 Simulink stateow 的使用..................................................................................................... 2
二、 代码优化............................................................................................................................... 2
1.设置上的优化..................................................................................................................... 2
2.优化数据类型(eg.根据需要将模型中的 double 变量类型改为 single)........................2
3.目标处理器优化................................................................................................................. 4
往往都是对模型中的某一部分进行代码生成,..................................................................4
................................................................................................................................................ 4
hps://www.mathworks.com/help/ecoder/examples/op!mize-generated-code-by-
developing-and-using-code-replacement-libraries-sc.html.....................................................4
评论0