It looks like the actxserver command in Matlab launches a COM application. FlexSim isn't a COM application, and doesn't implement a COM interface, so I don't think that particular command will help you.
But, if the goal is to connect FlexSim and Matlab, there are several other possibilities. Here are a few:
- Both FlexSim and Matlab can use TCP sockets. You could create a model that acts as a server (meaning it accepts requests from Matlab, and also sends responses back).
- Both FlexSim and Matlab can interact with Python. You might be able to execute python from Matlab that, in turn, executes FlexSim commands.
- Both FlexSim and Matlab can read and write files.
Maybe one of those approaches can get you where you need to go.
.
Jordan Johnson
Principal Software Engineer
>