I just re-install TWS and Matlab in my new computer. And I discover that I was unable to connect the trading tool box to my interactive broker TWS.
I have ensure I follow the istruction to installed TWS trading software and the TWS API.
I have also ensure "Enable Active X and Socket Clients" is checked.
I still encountered this error:
>> ib = ibtws('',7496)
Error using actxserver (line 90)
Server creation failed. Invalid ProgID 'TWS.TwsCtrl.1'.
Attached is the setting for API in TWS
Error in ibtws