MLINK MLDuplicateLink(MLINK parent, const char *name, int *err) 返回一个 parent 的副本并设置新的链接对象的名称为 name.
#include "mathlink.h"/* make a copy of a link */MLINK f(MLINK lp){ MLINK newlink; int error; newlink = MLDuplicateLink(lp, (const char *)"Duplicate 1", &error); if(newlink == (MLINK)0 || error != MLEOK) { /* unable to create a copy of the link */ } return newlink;}
MLSetUserData() MLUserData()
400+ new features, including the new Wolfram Predictive Interface, social network analysis, enterprise CDF deployment, and more »