54 const Teuchos::ParameterList& pL = GetParameterList();
58 string needsList = pL.get<
string>(
"Needs");
59 vector<RCP<MuemexArg>> InputArgs = processNeeds<Scalar, LocalOrdinal, GlobalOrdinal, Node>(
this, needsList, currentLevel);
60 string providesList = pL.get<std::string>(
"Provides");
63 string matlabFunction = pL.get<std::string>(
"Function");
64 if (!matlabFunction.length())
65 throw std::runtime_error(
"Invalid matlab function name");
66 vector<Teuchos::RCP<MuemexArg>> mexOutput =
callMatlab(matlabFunction, numProvides, InputArgs);
68 processProvides<Scalar, LocalOrdinal, GlobalOrdinal, Node>(mexOutput,
this, providesList, currentLevel);