Is it possible to call a defined function inside Mathematica like InterpolationFunction[...] from Matlab?


  • 2
    $\begingroup$ Somehow related InterpolatingFunctionToPiecewise and What's inside InterpolatingFunction. $\endgroup$
    – Ben Izd
    Commented Apr 26, 2022 at 12:11
  • $\begingroup$ Well, I'd argue this is a MATLAB question? $\endgroup$
    – xzczd
    Commented Apr 26, 2022 at 12:37
  • $\begingroup$ @xzczd It concerns the interaction between the platforms Mathematica and Matlab! $\endgroup$ Commented Apr 26, 2022 at 13:12
  • 1
    $\begingroup$ Looking at the documentation of MATlink (matlink.org/documentation) it seems unlikely to me to directly send an InterpolationFunction Mathematica object to matlab. But sending the data-array inside the InterpolationFunction seems relatively simple. $\endgroup$
    – N0va
    Commented Apr 26, 2022 at 16:24
  • 1
    $\begingroup$ Any reason MatLab's interpolation functions wont do the trick? $\endgroup$
    – Edmund
    Commented Apr 26, 2022 at 19:27


Browse other questions tagged or ask your own question.