Hi,
I don't know if this is because I am new and don't have a complete overview so either this is a feature request or an ask for help.
The AWE Server can be launched from MATLAB by the command awe_init. One of the input arguments is the type of connection where 0=native and 3=tcp/ip, however, there is no way to set the ip address and port for the tcp/ip connection via MATLAB. Can that be true? If it is true then I would like to request that feature. Else how to set this via MATLAB API?
Kind regards,
BOHR
12:14pm
Hi BOHR,
All these settings are contained within the AWE_Server.ini which you could edit prior to launching AWE_Server.
"C:\DSP Concepts\AWE Designer 8.D.2.7 Pro\Bin\win32-vc142-rel\AWE_Server.ini"
[BinaryServer]
; Port the Ethernet proxy talks on - defaults to 15002
TalkPort=15002
; Port that we listen on for binary commands, Default 15004. For proxy relay only.
Port=15004
; The network card to use for TCP targets - default 1
WhichNetworkCard=1
; The network address of the TCP target - changes when you use a different IP in the UI.
IPAddress=10.0.0.148
; TCP/IP time out wait interval.
TCPTimeout=1253
Here's a Mathworks forum entry on how to replace lines or strings in a text file. It's fairly old but it might still be valid.
How to replace a particular string in text file - MATLAB Answers - MATLAB Central
Let me know if this helps.
Thanks,
Gary
2:18am
Hi Gary,
Great, an ini file. No problem then. Thanks.
//BOHR