One possible solution is:
- Create a transfer function in the workscape: for example, type in the command window
2. In your Simulink model, use a block called "Transfer Fcn" and do double-click on it.
3. In 'Numerator coefficients' write:
4. In 'Denominator coefficients' write:
With this your 'Transfer Fcn' block will have the numerator and denominator coefficients of the trasnfer function you created in the workspace. You can put step 1 in a script, execute it, and the 'Transfer Fcn' block will read the coefficients from the workspace.
Hope this solution is what you are looking for!