MATLAB REAL-TIME WORKSHOP 7 - TARGET LANGUAGE COMPILER Instrukcja Obsługi Strona 252

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 282
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 251
B
Target Language Compiler Error Messages
B-14
The error is reported on the line that opens the scope and has no matching end
scope.
Note: Nested scopes must be closed before their parent scopes. Failure to
include an
end for a nested scope often causes this error, as in:
%if Block.Name == "Sin 3"
%foreach idx = Block.Width
%endif %% Error reported here that the %foreach was not terminated
The
directive
block that begins on this line has no corresponding end
This error message indicates that a block-scoped directive (%if, %with,
%foreach, %for, %roll, %function, or %switch) had no corresponding end
directive (
%endif, %endwith, %endforeach, %endfor, %endroll, %endfunction
or
%endswitch). Note: You must end blocks in the Target Language Compiler
in the same order that you begin them. The most common cause of this error is
improperly nested constructs, for example:
%if x == 3
%with scope %% Error on this line
%endif
%endwith
The FEVAL() function can accept only 2-dimensional arrays from MATLAB,
not
identifier
dimensions
Return values from MATLAB can have at most two dimensions.
The FEVAL() function can accept vectors of numbers or strings only when
calling MATLAB
Vectors passed to MATLAB can be numbers or strings.
The FEVAL() function requires the name of a function to call
FEVAL requires a function to call. This error only appears inside MATLAB.
Przeglądanie stron 251
1 2 ... 247 248 249 250 251 252 253 254 255 256 257 ... 281 282

Komentarze do niniejszej Instrukcji

Brak uwag