MATLAB APPLICATION DEPLOYMENT - WEB EXAMPLE GUIDE Uživatelská příručka Strana 150

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 354
  • Tabulka s obsahem
  • ŘEŠENÍ PROBLÉMŮ
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 149
7 Libraries
std::cout << "Value of added matrix is:" << std::endl;
std::cout << out << std::endl;
multiplymatrix(1, out, in1, in2);
std::cout << "The value of the multiplied matrix is:"
<< std::endl;
std::cout << out << std::endl;
eigmatrix(1, out, in1);
std::cout << "The eigenvalues of the first matrix are:"
<< std::endl;
std::cout << out << std::endl;
}
catch (const mwException& e)
{
std::cerr << e.what() << std::endl;
*err = -2;
}
catch (...)
{
std::cerr << "Unexpected error thrown" << std::endl;
*err = -3;
}
// Call the application and library termination routine
libmatrixpTerminate();
}
/* On MAC, you need to call mclRu nMai n with the appropri ate
* exit status. Also, note that you should call mclmcrInitialize
* application before you call mclRunMain.
* mclTerminateApplica tion terminates the entire application. */
mclTerminateApplication()0;
return 0
}
int main()
{
mclmcrInitialize();
return mclRunMain((mcl main Fcn)run_main,0,NULL) ;
7-20
Zobrazit stránku 149
1 2 ... 145 146 147 148 149 150 151 152 153 154 155 ... 353 354

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

Žádné komentáře