custom built transfer function block in simulink

I want to create a block of transfer function "2s+1" in Simulink.When I try to add ,by editing 1/s+1,could edit numerator for 2s+1 but recieve error message on editing denominator value to 1.Please guide how to proceed.Also,please help me to know,if a transfer function created in matlab by code,can it be converted to the respective block in .mdl file,by any way?

Réponses (2)

Guy Rouleau
Guy Rouleau le 10 Fév 2012

0 votes

After you open the block dialog, click on the "Help" button... it should explain everything.
You can find the same here:
Kaustubha Govind
Kaustubha Govind le 13 Fév 2012

0 votes

The "s" is a derivative term, so why not just use the Derivative block, followed by a Gain=2, and add that output back to the input to get "2s+1".

Catégories

En savoir plus sur Simulink dans Centre d'aide et File Exchange

Question posée :

le 10 Fév 2012

Community Treasure Hunt

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

Start Hunting!

Translated by