Simulink throws error when using multi-rate blocks for concurrent execution
Mostrar comentarios más antiguos
I am trying to increase the performance of my model by using the multi-threading capabilities.
My model has a Signal Generation block which generates different types of signals like QPSK, Sine, FM for testing purpose. And this block is converted to a referenced model. When trying to execute the model with "Allow tasks to execute concurrently on target" = ON, Simulink throws the below error,
The block 'Cluster1_SigSources/Subsystem/Enabled Subsystem/SIG0001/Upsample' of type 'S-Function' is a multi-rate block. Currently Simulink supports only single-rate blocks of this type when the model is configured for concurrent execution.
I have attached the reference model. How do I overcome this issue? Any suggestions would help?
Matlab Version: 2017b
Respuesta aceptada
Más respuestas (1)
Mark McBroom
el 4 de Mayo de 2018
0 votos
Model will not update. What values are you using for the various parameters in the model?
4 comentarios
Bhavanithya Thiraviaraja
el 7 de Mayo de 2018
Mark McBroom
el 15 de Abr. de 2019
You need to make the folloowing configuration change in order for the model to update
From the Simulation Menu
-> Model Configuration Parameters
-> Solver
-> Uncheck the box: "Treat each discrete rate as a seperate task"
johnnynoc4sh
el 4 de Abr. de 2021
Editada: johnnynoc4sh
el 5 de Abr. de 2021
I have the same issue as the thread author. In my case the checkbox is disabled (see figure attached). Can you help me out? What is the reason for this behaviour?

Mark McBroom
el 6 de Abr. de 2021
You are using Simulink Real-Time. This option is always on for Simulink Real-Time. What version of MATLAB are you using? Which block is causing the issue?
Categorías
Más información sobre Deployment, Integration, and Supported Hardware en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!