Question for somebody who has seen the following post...

조회 수: 1 (최근 30일)
Mate 2u
Mate 2u 2011년 7월 27일
댓글: Walter Roberson 2021년 6월 21일
Dear all,
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

답변 (1개)

Ataklti Kahsay
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
Walter Roberson 2021년 6월 21일
Aspen is probably empty. Creation of an ActiveX client probably failed.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Transaction Cost Analysis에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by