Simulink Error: You must not connect Task Manager to multiple model blocks
Show older comments
Hardware Used: Xilinx SoC with programming support from Matalb's SoC blockset
I am trying to run two tasks at an Arm Processor on my Xilinx SoC board. The problems I have been facing for past few days is that simulink gives following error if i try to connect two 'referenced models' to the task manager(regardless of using single core or two cores):
You must not connect Task Manager to multiple model blocks

The same error happens if I use two event driven tasks, both tasks timer driven or one task event & other timer driven.
If I run only one task at the Task Manger (either timer driven or event driven) and connect the "Task Output" to the referenced model which contains code for the task application, it runs perfectly. But as soon as I try to run two tasks in two separate refrenced models, it gives this error.
NOTE: If I run the Event Driven task in 'Refrenced Model' and run the second timer driven task in triggered subsystem ( with trigger as function call), it can run two tasks(used single core only). But I want both tasks to be in refrenced models.
1 Comment
Shahzad Anwar Khan
on 28 Feb 2024
Answers (0)
Categories
Find more on Memory in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!