Info

此问题已关闭。 请重新打开它进行编辑或回答。

How to call different functipon in a model with different time intervals?

1 次查看(过去 30 天)
I am building a model where there are primarily three functions. I want to call two of these functions with different time intervals.One of these functions is called every 10ms but I want to calculate the time interval for the other two with increasing or decreasing value of a variable or by a graph. For example: If speed is my variable then if the speed increases, then specific functions should be called more often. Is there a simulink block or a synchronisaton function that can help me acheive this. As the model runs with different time intervals I want to trigger different inputs with different times. Thank you.

回答(0 个)

此问题已关闭。

Community Treasure Hunt

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

Start Hunting!

Translated by