Hello Mathworks team, always thank you for the hard work.
I'm now working with ROS Toolbox, making my algorithms and generating code to my linux machine.
I checked that generated ROS Node in Linux PC works well, but one thing the function's period is kind of wierd.
I want to run my Function subsystem working as callback function (every Topic A is subscribed, the function runs).
So I made 'Enable block' in my Function subsystem and connect it with Subscribe block's 'IsNew' signal refer to the tutorials in your pages.
Here's the problem, after generating codes and executing in Linux, Topic 'A' is published per 10ms but my Function runs per 20ms.
And I looked into some generated code, my Function's period is handled by the variable "MW_BASERATE_PERIOD" which value is 0.2.
I checked that my Function runs with period 10ms after I changed that variable to 0.1.
I wonder that why my Function runs with this period and also doesn't run as callback function way.
I look foward to your answer, thanks !