Struggling to create a link between Matlab and a Javascript (specifically typescript) program using a COM automation server, as recommended on the MathWorks website. While the documentation provides examples for certain languages supported by Microsoft, there is limited guidance for implementing this connection in JavaScript.
The challenge lies in establishing a COM connection with JavaScript, particularly given its association with Internet Explorer, an outdated feature from the past. This poses an issue since I am developing a VS Code extension that does not rely on Internet Explorer or ActiveXObjects.
Dilemma
My main concern is finding an alternative method to connect my typescript code to the Matlab instance without depending on deprecated technologies like ActiveXObjects.
Objective
The objective is to execute Matlab scripts in the VS Code terminal without launching a separate Matlab interface. The desired output should also be displayed within the VS Code terminal itself. Although this can be achieved effortlessly on MacOS and Linux through CLI tools, Windows presents compatibility challenges due to the platform-specific differences.