Simulink掩码参数 [英] Simulink Mask Parameters

查看:129
本文介绍了Simulink掩码参数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试创建一个具有传递函数的子系统.分母中除一个系数以外的所有值都在此传递函数中设置.

I'm trying to create a subsystem that has a transfer function in it. Everything except one coefficient in the denominator is set in this transfer function.

如何仅提升此参数,而不是将传递函数的整个分母提升到子系统的掩码中?当用户双击子系统时,我想这样做,以便掩码仅请求该单个参数,而不是整个分母.这可能吗?

How can I promote only this parameter, instead of promoting the entire denominator of the transfer function into the the subsystem's mask? When the user double clicks on the sub system, I want to make it so the mask only requests this single parameter, rather than the whole denominator. Is this possible?

这是一个三阶系统:[1 (parameter) 9 1].

我想在蒙版中设置(参数)系数.

I want to set the (parameter) coefficient in the mask.

推荐答案

这是您应该做的事情:

  • 采用原子子系统
  • 添加Transfer Fcn块,分母为 [1 X 9 1]
  • 屏蔽此原子子系统,其参数名为 X 称为say Coefficient .

这里有个例子,(对不起,我的学生版本太旧了,但是您会做的.)

Here's an example, (sorry mine is too old Student's version of matlab, but you'll get what to do.)

这篇关于Simulink掩码参数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆