I have design a rhapsody demo intergrity with simulink blocks. But, I cann't compile it successful because the code generate has error. When I intergrity simulink in a class, it is correctly, but when I intergrity simulink block in an object in the structure of a class, it is incorrectly. The error is "doStep is undeclared".
Why is it?