Dear All,
I have a subsystem in my model. When I disable (by Cont+Shift+X) it my model works great and I can get all CAN messages. But when I enable I can not get any CAN messages despite of that model has nothing related with CAN in itself.
To be able to debug the problem I deleted all inner subsytems and only terminators remain. But still it does not operate. What may be the problem?
Thanks.
Figure 1. Model
Figure 2. Inner part of model (most of them is deleted)
已解决! 转到解答。
Hello ykarata1@ford.com.tr,
I see that you are using that enable block, which as far as I understand you expect to enable the execution for that subsystem if the signal is set. It should behaves similar to the if statement, right? I don't know how this block behaves under C code generation, so this requires a look in the generated code.
In this case can you try replacing the "enable" logic with an if statement one? Basically to call the subsystem when the input signal is set?
Hope this helps,
Marius
Hello ykarata1@ford.com.tr,
I see that you are using that enable block, which as far as I understand you expect to enable the execution for that subsystem if the signal is set. It should behaves similar to the if statement, right? I don't know how this block behaves under C code generation, so this requires a look in the generated code.
In this case can you try replacing the "enable" logic with an if statement one? Basically to call the subsystem when the input signal is set?
Hope this helps,
Marius