96 const Teuchos::ParameterList& pL = GetParameterList();
101 string needsList = pL.get<
string>(
"Needs");
102 vector<RCP<MuemexArg>> InputArgs = processNeeds<Scalar, LocalOrdinal, GlobalOrdinal, Node>(
this, needsList, currentLevel);
103 string providesList = pL.get<std::string>(
"Provides");
106 string matlabFunction = pL.get<std::string>(
"Function");
107 if(!matlabFunction.length())
108 throw std::runtime_error(
"Invalid matlab function name");
109 vector<Teuchos::RCP<MuemexArg> > mexOutput =
callMatlab(matlabFunction, numProvides, InputArgs);
111 processProvides<Scalar, LocalOrdinal, GlobalOrdinal, Node>(mexOutput,
this, providesList, currentLevel);