How Simulink block works? How to program it?

2 vues (au cours des 30 derniers jours)
Pramit Biswas
Pramit Biswas le 20 Août 2013
How matlab simulink works?
What actually happen on this blocks?
logic/math to program it in real time;
I know that integration can be written as summation. but that theory not works on real time/simulation mode
I want to learn programing a simple block(say integrator).
Can you help me?

Réponses (2)

Azzi Abdelmalek
Azzi Abdelmalek le 20 Août 2013
Both your blocks work on real time simulation
  2 commentaires
Pramit Biswas
Pramit Biswas le 20 Août 2013
I want to know how, the logic and programming behind it
Azzi Abdelmalek
Azzi Abdelmalek le 20 Août 2013
Modifié(e) : Azzi Abdelmalek le 20 Août 2013
We have not access to the code behind those blocks, but you can use your own code to make integration or derivation, by using numerical methods. You can also use built-in Matlab function like quad or int for integration and diff for derivation

Connectez-vous pour commenter.


Ilham Hardy
Ilham Hardy le 20 Août 2013

Catégories

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

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by