i want to generate transfer function in the simulink using matlab code, so may someone advise me that which block should i use ?

1 view (last 30 days)
Hi, i want to generate transfer function in the simulink using matlab code, so may someone advise me that which block should i use ?

Accepted Answer

Roger Aarenstrup
Roger Aarenstrup on 18 Mar 2017
If it is a discrete transfer function I would probably use a MATLAB Function block. If continuous a Level-2 MATLAB S-Function. But there are other options and it would depend on what you need to do. Is it only simulation or code generation as well?

More Answers (0)

Categories

Find more on Complex Logic in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!