フィルターのクリア

Matlab2015b Error in actxserver (line 86) h=feval(['COM.' convertedProgID], 'server', machinename, interface); The specified procedure could not be found

6 ビュー (過去 30 日間)
Diego Ochoa
Diego Ochoa 2016 年 7 月 31 日
コメント済み: Walter Roberson 2018 年 3 月 2 日
I'm trying to connect matlab to TWS through API - ib=ibtws('',7496) -. OS is Windows10 x64 .First I had the 2016a x64 version and downgraded to 2015b 32bit. The same with TWS, had to downgrade to 957.3 release and x86 version. Already installed C++ redistributable 2005, 2008 and 2010 in x86 version. Already installed 970 API from IB. And I keep getting the same message:
>> ib=ibtws('',7496); Error using feval Server Creation Failed: No se encontró el proceso especificado.
Error in actxserver (line 86) h=feval(['COM.' convertedProgID], 'server', machinename, interface);
Error in ibtws
I've Been trying to solve this all day and nothing seems to work. If anyone has found a solution, you can spare me a stroke.
Thnx!!

回答 (1 件)

ivan Kiriyanov
ivan Kiriyanov 2017 年 1 月 25 日
編集済み: Walter Roberson 2017 年 1 月 25 日
Rejoice! Found the solution .
This is for 9.71 version of API. It seems that Matlab trading toolbox is not updated to the newest version of API
Here's the sequence
1. Uninstall the API component by navigating to Control Panel -> Program and Features
2. Locate and delete the following files if they are still present:
C:\Windows\System32(SysWOW64)\TwsSocketClient.dll C:\Windows\System32(SysWOW64)\MsFlxgrd.ocx C:\Windows\ddedll.dll
3. Restart your computer.
4. Install the Microsoft Visual C++ 2005 SP1 Redistributable Package (x86) http://www.microsoft.com/en-us/download/details.aspx?id=5638
5. Install the Microsoft Visual J# 2.0 Redistributable Package. http://www.microsoft.com/en-us/download/details.aspx?id=4712
If the problem still persists, you may have to register the Tws.ocx file manually. It is essential that you run CMD or command in Administrator, even though you login as local administrator. Please follow the below steps:
1. Copy Tws.ocx (C:\TWS API\bin\ActiveX\ to the following directory: C:\Windows\System32(SysWOW64)\
2. Click the Search Windows icon (Magnifier glass) and in the Search area, type "cmd”
3. Right click the "Command Prompt" banner, and select "Run as Administrator"
4. At the command prompt, enter: %systemroot%\System32(SysWOW64)\regsvr32.exe Tws.ocx
5. This should successfully register your Tws.ocx.
  5 件のコメント
laserfocused
laserfocused 2018 年 3 月 2 日
Same for me, I have done all the steps too 1 to 5 and then registered successfully tws.ocx but still having the error using feval mistake.
Please help!

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeStartup and Shutdown についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by