I have a question and problem connecting matlab to IB TWS using ibtws function inside matlab. It seems it doesn't open the port of 7496. Is there any thing I should do before? It gives server error. Or could direct t the right page and people here to ask them! It's so lame that there is no standard API system or routine to connect any application with no problem to the broker's platforms. Thanks in advance.