Can I call a Mathcad or Matlab routine from Xojo and return a value to Xojo?
I use Matlab at work but I have never tried anything like this. I know there is some way to compile Matlab code to dynamic libraries, so you could call that functionality from Xojo using declares.
I imagine you will need a license to the C compilation toolbox in Matlab, or whatever its name is. Check this: http://www-rohan.sdsu.edu/doc/matlab/toolbox/compiler/mcc.html
There is also this (http://www.mathworks.es/es/help/matlab/call-matlab-com-automation-server.html), but I don’t know its capabilities and limitations, just found it.