英语翻译(编程类)

来源:百度知道 编辑:UC知道 时间:2024/05/29 02:54:57
f Gain from the slider
NewVal = get(hObject, 'Value');
% Set the value of the KfCurrentValue to the new value set by
slider
set(handles.KfCurrentValue,'String',NewVal)
% Set the Gain parameter of the Kf Gain Block to the new value
set_param('f14/Controller/Gain','Gain',num2str(NewVal))
Note that, while a slider returns a number and the edit text requires a string, uicontrols automatically convert the values to the correct type. The callback for the Integral (Ki) slider follows a similar approach. Current Value Edit Text CallbackThe edit text box enables users to type in a value for the respective parameter. When the user clicks on another component in the GUI after typing into the text box, the edit text callback executes the following steps: Calls model_open to ensure that the Simulink model is open so that it can set simulation parameters. Converts the string returned by the edit box String property to a double (str2

拜托。。这不是英语 这是程序好不好 %后面的是注释
这应该是一种面向对象的语言。。。

你就是让老外过来看 也不一定能看懂啊

大哥,我们又不是苦力