All Questions
4
questions
1
vote
1
answer
435
views
Benefit of using event listeners over functions callbacks in Matlab
Note: The question here is specifically for the case of Matlab!
The context of this question is a Matlab handle class, which receives some data over a websocket, does some processing to that data and ...
2
votes
0
answers
299
views
can Matlab global variables yield better performance in Matlab?
I hate using global variables, and everyone should. If a language has no way around using global variables it should be updated. Currently, I don't know any good alternative to using global variables ...
0
votes
1
answer
171
views
Calling one method from another method and callback arguments
I have a problem to define callbacks arguments and what matlab documentation says doesn't help me.
My first class:
classdef first < handle
properties
State = false
end
events
...
0
votes
0
answers
134
views
Listen an event when another function of the class is running?
My class looks like:
classdef linescan99 < handle
methods
function obj = linescan99(obj_watcher)
addlistener(obj_watcher,'Contact',@obj.handleEvnt);
end
...