LIBRARY LINK 符号

Message


issues a message from a library function.

更多信息更多信息

  • Used in C/C++ code in a library function called from Mathematica.
  • The message is issued as LibraryFunction::txt; you have to make a definition for the message.

范例范例打开所有单元关闭所有单元

基本范例 (1)基本范例 (1)

This sets up the text for the message in Mathematica:

In[1]:=
Click for copyable input

This issues the message from a DLL function:

libData->Message( "myDLLnolen");
New to Mathematica? Find your learning path »
Have a question? Ask support »