Effacer les filtres
Effacer les filtres

Unable to run rtwmakecfg file. Insufficient number of outputs

18 vues (au cours des 30 derniers jours)
Donovan McGraw
Donovan McGraw le 25 Juin 2024 à 19:53
Réponse apportée : Dimitri MANKOV le 16 Juil 2024 à 6:07
When building a model using a speedgoat blockset with Simulink Real Time, I receive the following error. "Insufficient number of outputs from right hand side of equal sign to satisfy assignment"
I am unsure what causes this or how to resolve it.

Réponses (2)

aditi bagora
aditi bagora le 28 Juin 2024 à 5:48
Hi Donovan,
It is difficult to understand where the real issue is without looking at the model. But, based on the error it seems there is a number of output mismatch in the model.
I would suggest you to follow the hyperlink in the error message. In order to fix the errors, verify whether all the connections made and their input ouput ports are connected correctly.
After fixing the issues, run the simulation and go to Diagnostic Viewer to check if there is any other issue or warnings to fix.
You can refer to the following MathWorks documentation for more information diagnosis of errors in Simulink:
Hope this helps!

Dimitri MANKOV
Dimitri MANKOV le 16 Juil 2024 à 6:07
Hi Donovan,
In the vast majority of cases related specifically to Simulink Real-Time in R2020a and earlier, this (admittedly cryptic) error message is a symptom of an incorrectly configured compiler. Please make sure that you've selected a compiler compatible with Simulink Real-Time using the command:
mex -setup
The list of compilers compatible with Simulink Real-Time can be found here for every MATLAB release. A version of Microsoft Visual Studio is usually required.
I hope this is helpful!
Dimitri

Catégories

En savoir plus sur Simulink Coder dans Help Center et File Exchange

Produits


Version

R2018b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by