Question for somebody who has seen the following post...
조회 수: 1 (최근 30일)
이전 댓글 표시
Dear all,
Please see this: http://www.mathworks.com/matlabcentral/fileexchange/29434-connecting-to-interactive-brokers-via-activex-api
The code is working perfectly, I am just wondering at this part of the code
%%now create an event listener and start displaying data
l = CListener('SPY');
l.startListening(tws,'trade');
How do you store this information in the array whilst its listening?
Best,
M
댓글 수: 0
답변 (1개)
Ataklti Kahsay
2021년 6월 21일
Dear center how can i solve the following error:
Dot indexing is not supported for variables of this type.
Error in methanolOPEX (line 14)
CW_Cost = Aspen.Tree.FindNode("\Data\Utilities\CW\Output\UTL_COST\HX2").Value * 8000 ; %8000 hours per year
Error in Fitness_Function (line 50)
TOPEX = methanolOPEX(); % Operating Distillation Cost
Error in createAnonymousFcn>@(x)fcn(x,FcnArgs{:}) (line 11)
fcn_handle = @(x) fcn(x,FcnArgs{:});
Error in objAndConVectorizer (line 33)
Fvals(i,:) = feval(objFcn,(pop(i,:)));
Error in stepgamultiobj (line 68)
[nextScore,nextC,nextCeq,nextIsFeas] = objAndConVectorizer(pop, ...
Error in gamultiobjsolve (line 55)
state = stepgamultiobj(pop,thisPopulation,options,state, ...
Error in gamultiobj (line 304)
[x,fval,exitFlag,output,population,scores] = gamultiobjsolve(FitnessFcn,nvars, ...
Error in Main_Genetic_Algorithm (line 41)
[X, fval, exitflag, output, population, scores] = gamultiobj(@Fitness_Function, ...
Caused by:
Failure in user-supplied fitness function evaluation. Cannot continue.
MATLAB has experienced a low-level graphics error, and may not have drawn correctly.
Read about what you can do to prevent this issue at Resolving Low-Level Graphics Issues then restart MATLAB.
To share details of this issue with MathWorks technical support,
please include this file with your service request.
댓글 수: 1
Walter Roberson
2021년 6월 21일
Aspen is probably empty. Creation of an ActiveX client probably failed.
참고 항목
카테고리
Help Center 및 File Exchange에서 Transaction Cost Analysis에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!