Host connection error when running via Matlab on Win 10
Posted: 08 Jun 2016, 09:08
Hi,
I'm currently running Pelegant on a 64 bit Win 10 machine - I have until today been running just elegant and have run it from inside Matlab, where I also do my plotting and data analysis. I have a .bat file from which I run elegant/Pelegant and convert the output .sdds files to .txt which works perfectly with both elegant and Pelegant when I just run the .bat file on its own from within the main elegant directory (with .ele and .lte files, etc.).
My problem is that when I try to run the .bat file for Pelegant from inside Matlab, I get the following error message:
Error while connecting to host, No connection could be made because the target machine actively refused it. (10061)
Connect on sock (host=*computer name*, port=8676) failed, exhaused all end points
Unable to connect to '*computer name*:8676',
sock error: Error = -1
I have checked all my paths and such, and they are indeed the same between running in Matlab and running in cmd. I have also tried running Matlab with administrator priviliges and giving Matlab different firewall permissions and even turning the firewall off. I have no clue whatsoever how to solve this.
//Jonas
I'm currently running Pelegant on a 64 bit Win 10 machine - I have until today been running just elegant and have run it from inside Matlab, where I also do my plotting and data analysis. I have a .bat file from which I run elegant/Pelegant and convert the output .sdds files to .txt which works perfectly with both elegant and Pelegant when I just run the .bat file on its own from within the main elegant directory (with .ele and .lte files, etc.).
My problem is that when I try to run the .bat file for Pelegant from inside Matlab, I get the following error message:
Error while connecting to host, No connection could be made because the target machine actively refused it. (10061)
Connect on sock (host=*computer name*, port=8676) failed, exhaused all end points
Unable to connect to '*computer name*:8676',
sock error: Error = -1
I have checked all my paths and such, and they are indeed the same between running in Matlab and running in cmd. I have also tried running Matlab with administrator priviliges and giving Matlab different firewall permissions and even turning the firewall off. I have no clue whatsoever how to solve this.
//Jonas