Runing the simulink with different step time

12 ビュー (過去 30 日間)
Mahdiyar
Mahdiyar 2015 年 3 月 26 日
編集済み: A Jenkins 2015 年 3 月 26 日
Hi everyone
I want to link the matlab with a Communication software. I am using simulink at this project. First the simulation should be run in the Communication Software then the output should be given to the simulink as an input.
The problem is that the simulation time in the utilized communication software is not linear, which means there is no constant step time there. For example, the simulation time is Time1 = [0.5 1 1.5 1.75 2 2.5 2.75 2.85], while the simulink uses a certain step time and the simulation time would be like Time2 = [0.5 1 1.5 2 2.5 3.5 4].
The question is that how can I force Simulink to use the Time1 as sumulation time instead of specifying the start, stop and step times?
Many tanks in advance

採用された回答

A Jenkins
A Jenkins 2015 年 3 月 26 日
編集済み: A Jenkins 2015 年 3 月 26 日
Use a From Workspace block with a time series, or an array of time and signal values.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSimulink についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by