Set Breakpoint in IB-Matlab Call Back Function

조회 수: 6 (최근 30일)
David Laxer
David Laxer 2015년 3월 13일
댓글: Geoff Hayes 2015년 3월 14일
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