MATLAB BUILDER EX 1 Podręcznik Użytkownika Strona 77

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
Przeglądanie stron 76
Function Pro perties
Req u ired arguments ap pe ar first on the left or right sides of a MATLAB
function and are not named
varargin or varargout.
varargin/varargout argumentsalwaysappearasthelastinputoroutput.
They let you specify a variable number of arguments.
Editing Required Arguments
To edit required arguments, select the argument from the list and click
Properties.
Before you can edit
varargin/varargout arguments, you must first
explicitly add them using Add. If the MATLAB function does not have
varargin/varargout arguments, the ability to add arguments to the list is
disabled. After you have added
varargin/varargout arguments, you can
edit them in the same way as required arguments. When you are editing
varargin/varargout arguments, the Function Properties dialog box a ppears
as shown:
4-9
Przeglądanie stron 76
1 2 ... 72 73 74 75 76 77 78 79 80 81 82 ... 163 164

Komentarze do niniejszej Instrukcji

Brak uwag