How Simulink block works? How to program it?

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?

Answers (2)

Both your blocks work on real time simulation

2 Comments

I want to know how, the logic and programming behind it
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

Sign in to comment.

Categories

Find more on Simulink in Help Center and File Exchange

Products

Asked:

on 20 Aug 2013

Community Treasure Hunt

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

Start Hunting!