MATLAB 帮助中心
类: matlab.System
设置可调属性是否可以更改数据类型
mutable = isTunablePropertyDataTypeMutableImpl(obj)
mutable = isTunablePropertyDataTypeMutableImpl(obj) 返回可调属性是否可在对象处于使用中状态时更改数据类型。
mutable
obj
isTunablePropertyDataTypeMutableImpl 方法对 MATLAB System 模块不起作用。可调参数数据类型在 MATLAB System 模块中始终是不可变的。
isTunablePropertyDataTypeMutableImpl
您必须先对此方法设置 Access = protected。
Access = protected
全部展开
System object 句柄,用于访问特定于该对象的属性、状态和方法。如果您的 isTunablePropertyDataTypeMutableImpl 方法不使用该对象,您可以用 ~ 替换此输入。
~
true
false
如果不实现此方法,则可调属性可以更改数据类型(除非设置了 StrictDefaults 类特性)。如果实现此方法,则返回 true 表示可调属性的数据类型可以更改,返回 false 表示不能更改。
StrictDefaults
通过添加 isTunablePropertyDataTypeMutableImpl 方法并返回 false,可以限制可调属性的数据类型。通过添加此方法,可以限制 System object 的用户不能在 System object 处于使用中状态时更改可调属性的数据类型。
function flag = isTunablePropertyDataTypeMutableImpl(obj) flag = false; end
在 R2018a 中推出
processTunedPropertiesImpl | isInputComplexityMutableImpl | isInputDataTypeMutableImpl | isInputSizeMutableImpl | isInputDirectFeedthroughImpl
processTunedPropertiesImpl
isInputComplexityMutableImpl
isInputDataTypeMutableImpl
isInputSizeMutableImpl
isInputDirectFeedthroughImpl
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
选择网站
选择网站以获取翻译的可用内容,以及查看当地活动和优惠。根据您的位置,我们建议您选择:。
您也可以从以下列表中选择网站:
如何获得最佳网站性能
选择中国网站(中文或英文)以获得最佳网站性能。其他 MathWorks 国家/地区网站并未针对您所在位置的访问进行优化。
美洲
欧洲
亚太
联系您当地的办事处