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?

回答 (2 件)

Azzi Abdelmalek
Azzi Abdelmalek 2013 年 8 月 20 日

0 投票

Both your blocks work on real time simulation

2 件のコメント

Pramit Biswas
Pramit Biswas 2013 年 8 月 20 日
I want to know how, the logic and programming behind it
Azzi Abdelmalek
Azzi Abdelmalek 2013 年 8 月 20 日
編集済み: Azzi Abdelmalek 2013 年 8 月 20 日
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

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeSimulink についてさらに検索

製品

質問済み:

2013 年 8 月 20 日

Community Treasure Hunt

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

Start Hunting!

Translated by