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

2 views (last 30 days)
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

Answers (1)

Ataklti Kahsay
Ataklti Kahsay on 21 Jun 2021
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.

Tags

Community Treasure Hunt

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

Start Hunting!