Effacer les filtres
Effacer les filtres

how to convert non-scalars to scalars in simulink?

6 vues (au cours des 30 derniers jours)
Anu  Sri
Anu Sri le 12 Mar 2019
if ((2*(2*x)-1) < size(m) & (2*(2*y)-1) < size(m))
Expected a scalar. Non-scalars are not supported in IF or WHILE statements, or with logical operators. Instead, use ALL to convert matrix logicals to their scalar equivalents.
how can i do it?

Réponses (0)

Catégories

En savoir plus sur Simulink Environment Customization dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by