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

  • 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 275
6 Importing and Exporting Data
6-20
else {
result = 0;
printf("Usage: matdgns <matfile>");
printf("where <matfile> is the name of the MAT-file");
printf("to be diagnosed");
}
return (result==0)?EXIT_SUCCESS:EXIT_FAILURE;
}
After compiling and linking this program, you can view its results.
matdgns mattest.mat
Reading file mattest.mat...
Directory of mattest.mat:
GlobalDouble
LocalString
LocalDouble
Examining the header for each variable:
According to its header, array GlobalDouble has 2 dimensions
and was a global variable when saved
According to its header, array LocalString has 2 dimensions
and was a local variable when saved
According to its header, array LocalDouble has 2 dimensions
and was a local variable when saved
Reading in the actual array contents:
According to its contents, array GlobalDouble has 2 dimensions
and was a global variable when saved
According to its contents, array LocalString has 2 dimensions
and was a local variable when saved
According to its contents, array LocalDouble has 2 dimensions
and was a local variable when saved
Done
Zobrazit stránku 275
1 2 ... 271 272 273 274 275 276 277 278 279 280 281 ... 407 408

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

Žádné komentáře