I'd like to call Matlab from UE 14.20 using Matlab as an automation server, basically as in the example below. However I'm getting an error with the "new ActiveXObject" line.
Is it possible at all? If not any ideas how to do it?
Best Regards
Max
Is it possible at all? If not any ideas how to do it?
Code: Select all
function callMatlab(sCommandStr) {
var MatLab = new ActiveXObject("matlab.application");
MatLab.Execute (sCommandStr)
}
var sCommandStr = ""
if (UltraEdit.document[1].isSel()){
sCommandStr = UltraEdit.activeDocument.selection;
callMatlab(sCommandStr);
}
Max