tailieunhanh - A Guide to MATLAB Object-Oriented Programming phần 8

Danh sách sản lượng Đối số: nắm giữ một danh sách bằng dấu phẩy của các đối số đầu ra định chức năng, nhiệm vụ. Nếu một bản sao của đối tượng được thông qua, điều này phải được bao gồm trong danh sách đối số. | Class Wizard 241 FIGURE Class Wizard Private Function . dialog. Output Argument List holds a comma-separated list of output arguments for the function. If a copy of the object is passed this must be included in the argument list. By convention when it exists this should usually be the first argument in the argument list. As with variables in the input argument list output variable names are added to the data dictionary. Comment holds a text description of the function. The text description will be added to the header comments when the function is generated. Clicking the Save Change button commits the changes and displays the function prototype in WYSIWYG format. During file generation Class Wizard writes the same function prototype into the private function and follows the prototype with header comments. Of course Class Wizard doesn t know how to write the real function body but it can write a body that runs without error. The body of the private function must be manually modified to include the desired class-specific functionality. The three buttons Save Change Delete and Done are the same three buttons used in the parent-class dialog. Refer to for a description of their behavior. When you finish modifying the object s private-function data click the Done button. This will save your changes and return you to the more dialog. Private-function names are shown in the list box adjacent to the Private Functions . button. The names provide a quick summary and in the more dialog view they are not active. You have to open the private-function dialog to make changes or see more detail. 242 A Guide to MATLAB Object-Oriented Programming FIGURE Class Wizard Public Function . dialog. Public Functions . Dialog Clicking the Public Functions . button brings up the dialog shown in Figure . The dialog shown in the figure contains an entry for one function. Like most of the tool s dialogs the public-function dialog is organized into three sections

TỪ KHÓA LIÊN QUAN
crossorigin="anonymous">
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.