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 个评论
另请参阅
类别
在 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!