- Refactor your code with replacing loops with matrix operations https://www.mathworks.com/matlabcentral/answers/369868-how-do-i-replace-my-for-loops-using-matrix-manipulation
- Build your algorithms with Stateflow
for in MATLAB Function block in Simulink
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
HEMANT GHUGE
le 22 Juil 2019
Commenté : Andrey Kiselnikov
le 24 Juil 2019
Facing trouble in implementing our algorithm in Simulink which contains for loop. For loop in MATLAB Function is not running properly.
We have MATLAB code which contains for loops. For loops ain't implemented in Simulink by us.
Please help us.
Waiting for reply.
0 commentaires
Réponse acceptée
Andrey Kiselnikov
le 22 Juil 2019
Modifié(e) : Andrey Kiselnikov
le 22 Juil 2019
There are two right ways to solve you problem:
5 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur MATLAB Coder dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!