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

  • 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 159
4 Calling MATLAB from C and Fortran Programs
4-10
/*
* We're done! Free memory, close MATLAB engine and exit.
*/
printf("Done!\n");
mxDestroyArray(result);
engClose(ep);
return EXIT_SUCCESS;
}
The first part of this program launches MATLAB and sends it data. MATLAB
then analyzes the data and plots the results.
The program then continues with
Press Return to continue
Pressing Return continues the program.
Done for Part I.
Enter a MATLAB command to evaluate. This command should
create a variable X. This program will then determine
what kind of variable you created.
For example: X = 1:5
Zobrazit stránku 159
1 2 ... 155 156 157 158 159 160 161 162 163 164 165 ... 407 408

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

Žádné komentáře