Effacer les filtres
Effacer les filtres

Hello everyone, I have a problem in simulink

1 vue (au cours des 30 derniers jours)
Niharika Pantawane
Niharika Pantawane le 13 Juil 2017
Commenté : Naty Shemer le 13 Juil 2017
I have written a code in Matlab and that is running well but when i am linking it with Simulink i am not able to see the output in Scope. I have tried a lot but not getting output and there is no error in the code as well as in simulink compilation. I am attaching my file here.

Réponse acceptée

Naty Shemer
Naty Shemer le 13 Juil 2017
Hey,
I have ran your script. The output is 0 and that's was shown in the scope. You defined the output "a" as always 0. That's probably not what you meant..
Naty
  2 commentaires
Niharika Pantawane
Niharika Pantawane le 13 Juil 2017
Thanks for replying. I want to plot y in scope. Can you help me out
Naty Shemer
Naty Shemer le 13 Juil 2017
If you want to plot y you need to output y from your matlab function. In your particular case just substitute
a=0;
by
a=y;

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Simulink Environment Customization 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!

Translated by