MATLAB REAL-TIME WORKSHOP 7 - TARGET LANGUAGE COMPILER Uživatelský manuál Strana 95

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 408
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 94
Examples of C MEX-Files
2-35
mxDestroyArray(lhs[0]);
return;
}
Running this example
sincall
displays the results
Note It is possible to generate an object of type mxUNKNOWN_CLASS using
mexCallMATLAB. See the example below.
The following example creates an M-file that returns two variables but only
assigns one of them a value.
function [a,b] = foo[c]
a = 2*c;
Zobrazit stránku 94
1 2 ... 90 91 92 93 94 95 96 97 98 99 100 ... 407 408

Komentáře k této Příručce

Žádné komentáře