Continuous input from Workspace to Simulink model

I have a MATLAB function which continuously updates a set of variables, which I need to use as input for a Simulink model. I would like Simulink to update the value as soon as fur function generates a new one.
Does Simulink provide a block for this or do I have to write a S-function?

回答 (1 件)

Azzi Abdelmalek
Azzi Abdelmalek 2013 年 7 月 11 日

1 投票

You can use interpreted matlab function block or matlab function block

2 件のコメント

Jenifer
Jenifer 2013 年 7 月 11 日
As my function is based on a custom Matlab library, it is not straightforward to implement it as a Matlab Function Block. That's why I would like to use an existing Simulink block.
Azzi Abdelmalek
Azzi Abdelmalek 2013 年 7 月 11 日
What do you mean?

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

カテゴリ

ヘルプ センター および File Exchange で Simulink Functions についてさらに検索

製品

質問済み:

2013 年 7 月 11 日

Community Treasure Hunt

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

Start Hunting!

Translated by