This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

关于c28069pmsmfocsimulink模型的一些问题



1.为什么一些子模块或者模块的参数灰色不能修改?例如 子模块 ‘Speed and direction are valid Use speed to extrapolate position’的参数'treat as atomic submodule' 就已经被勾选但是灰色的 不能再改
2.我把这个模型复制到另一个空文件里面,做了一些修改,例如想做BLDC有霍尔传感器的梯形控制,在ECAP中断里读取霍尔值,根据霍尔改变PWM的输出状态,加了个swich case模块,但是在生成的C代码文件里,没有体现出这个switch函数,显示的是 Code for '<S4>/Switch Case' cannot be traced because traceability information is not found. 是我哪里没设置好吗?
刚刚接触用simulink搭建模型生成代码,希望各位多多指教