I can’t seem to find a lot of information on how to establish such a COM connection with JS. From what I’ve read, it’s an old Microsoft feature that was only used with Internet Explorer.
The program I am writing is a VS Code extension, thus I am not using Internet Explorer at all. As a result, I do not believe I can use ActiveXObjects.
Is there another way to establish a connection between my typescript code and the Matlab instance?
I am trying to run Matlab files from the VS Code terminal without opening a custom Matlab terminal or the complete Matlab GUI. The output should be displayed in the VS Code terminal as well. On MacOS and Linux, I can simply use the CLI tools, but due to the differences between the Windows version and MacOS/Linux versions, this is not possible on Windows.