Clear Filters
Clear Filters

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

6 views (last 30 days)
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.

Answers (1)

madhan ravi
madhan ravi on 18 Nov 2023
Edited: madhan ravi on 18 Nov 2023
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 Comments
madhan ravi
madhan ravi on 2 Dec 2023
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.

Sign in to comment.

Categories

Find more on Event Functions in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!