Set Breakpoint in IB-Matlab Call Back Function

6 次查看(过去 30 天)
Hi,
If I set a breakpoint in an IB-Matlab callback function it trashes the stack and crashes Matlab.
function IBCallbackContractDetails(ibConnector, eventData)
%UNTITLED Summary of this function goes here
% Detailed explanation goes here
end
optionChain = IBMatlab('action', 'query', 'SYMBOL', 'SPX', 'secType', 'OPT', ...
'exchange', 'CBOE', 'currency', 'USD', ...
'expiry', '201506', 'right', '', 'strike', 0.0, ...
'CallbackContractDetails', @IBCallbackContractDetails)
Any ideas on why?
  1 个评论
Geoff Hayes
Geoff Hayes 2015-3-14
David - so you have set a breakpoint in the IBCallbackContractDetails function? How often does this callback fire?

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Loops and Conditional Statements 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by