How to pass multiple signals in Fractional-order Integration in SIMULINK (MATLAB)?

6 次查看(过去 30 天)
Here is the pasted screenshot. The FOMCON fractional-order integral block is designed for taking only a scalar signal. If I try to apply Multiple inputs to the integration (FOMCON) block it shows a dimension error.

回答(1 个)

madhan ravi
madhan ravi 2023-11-18
编辑:madhan ravi 2023-11-18
Use a For - Iterator subsystem which encapsulates this Integrator block. For the iterator you need to feed in the output of the width(which in your model is 1 when Switch condition is true and 4 when false) of the incoming signal , which is usually done by using width block. And within the For- Iterator subsytem you need to feed in the Switch Signal in each iteration using a Selector Block or a Multiport Switch feeding it’s output to the Integrator block and saving the output of the Integrator block in each iteration using Assignment Block. The output of the For- Iterator subsystem can be connected to a scope. By the way, I have no idea what the FOMCON integrator block does, but my suggestion should work without causing error.
  15 个评论
madhan ravi
madhan ravi 2023-12-2
Yes, you are correct. The Toolbox is robust that it doesn’t allow to propagate vector signals. I can only suggest you to contact the author directly.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Event Functions 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by