Can I use multi-rate enabled subsystems for deployment on multitasking targets such as Simulink Real-Time?
Show older comments
I have a model that contains a multi-rate enabled subsystem that I would like to deploy to a Speedgoat target using Simulink Real-Time (SLRT). When I update or build my model, I receive an error message.
The enabled subsystem 'MyModel/MySubsystem' executes in multiple tasks. This can cause corrupted data or non-deterministic behavior in a real-time system.
In newer versions of MATLAB:
Enabled subsystem 'MyModel/MySubsystem' executes in multiple concurrent tasks. This can cause corrupted data or nondeterministic behavior in a real-time system.
I may see I get a suggested action to "Clear Treat each discrete rate as a separate task", but when I try to click "Fix it", I get the error:
Failed : Unable to change 'Treat each discrete rate as a separate task'. Changing property 'EnableMultiTasking' is not allowed
Accepted Answer
More Answers (0)
Categories
Find more on Multicore Processor Targets in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!