Simulink Error: You must not connect Task Manager to multiple model blocks
Mostrar comentarios más antiguos
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 comentario
Shahzad Anwar Khan
el 28 de Feb. de 2024
Respuestas (0)
Categorías
Más información sobre Memory en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!