royk
Followers: 0 Following: 0
Feeds
질문
When overloading a builtin function: can I copy the original signature to allow auto-complete?
Say I define my own implementation for the plot function: function varargout = plot(varargin) % do my own stuff % ... % ...
2년 초과 전 | 답변 수: 1 | 0
1
답변답변 있음
How to call a class-specified overloaded version of a function without using an object instance as an argument
thnaks. indeed really what i wanted cause you cannot use the simple notation sin(fc) . but thanks for clarifying that this is...
How to call a class-specified overloaded version of a function without using an object instance as an argument
thnaks. indeed really what i wanted cause you cannot use the simple notation sin(fc) . but thanks for clarifying that this is...
3년 초과 전 | 0
질문
How to call a class-specified overloaded version of a function without using an object instance as an argument
I have a class: classdef fast_calc < handle properties value end methods function obj = ...
3년 초과 전 | 답변 수: 2 | 0
2
답변질문
Live Editor fails displaying myObject
I have a handle class myClass which overloads disp, size, isempty and subsref. An object myObject=myClass won't display in Liv...
거의 4년 전 | 답변 수: 1 | 0
1
답변질문
Can a function known whether/which specific output is ignored (tilde operator)?
A function can know the number of requested outputs via nargout. But can it know if a specific output is replaced with tilde o...
4년 초과 전 | 답변 수: 3 | 3
3
답변답변 있음
Hoe to implement a listener that deletes its calling object?
thanks Walter What I want to do is is to specifically delete the ROI only after it is moved (the move is important becuase i wa...
Hoe to implement a listener that deletes its calling object?
thanks Walter What I want to do is is to specifically delete the ROI only after it is moved (the move is important becuase i wa...
4년 초과 전 | 0
질문
Hoe to implement a listener that deletes its calling object?
I would like to trigger DELETE of an IMAGES.ROI object upon ROIMoved event. I am trying: figure(1);clf;axis([0 100 0 100]) ...
4년 초과 전 | 답변 수: 2 | 0
2
답변질문
retain autocomplete for overloaded functions
When overloading a builtin function in MYCLASS, is there a way to retain the autocomplete functionality of the original (builtin...
4년 초과 전 | 답변 수: 0 | 0
0
답변질문
Apparent bug when images.ROI is placed within an hggroup
I need to place an ROI within a Graphic Group: clf axis([0 10 0 10]) g = hggroup(gca); images.roi.Circle(g,'Center',[4 5],'R...
거의 5년 전 | 답변 수: 1 | 0
1
답변질문
num2cell at high dimensions - is this a bug?
Matlab help of num2cell(A,[DIM1, DIM2, ...]) says "All DIMn inputs must be an integer with a value from NDIMS(A) to 1." The f...
대략 5년 전 | 답변 수: 1 | 0
1
답변질문
How to call a function only when Matlab is not busy
I have a GUI that needs to run a function if an input file changes. The GUI has a timer that calls a function "checkfiles" to ...
대략 5년 전 | 답변 수: 0 | 0
0
답변질문
Replacing variable names when using func2str of anonymous function
I have an anonymous function, say f=@(x,y) x+y; I can name the function using func2str: func2str(f) ans = '@(x,y)x+y' ...
대략 5년 전 | 답변 수: 1 | 0
1
답변질문
Programatically creating an anonymous function that separates "Variables" and "Parameters"
I have a function MYFUN with several inputs. Say, myfun = @(a,b,c,d) a*1000 + b*100 + c*10 + d In actuality, some of thes...
대략 5년 전 | 답변 수: 3 | 2
3
답변질문
How to get the "zero/blank" element of a given variable?
I have an array VAR of unknown type. When the array is extended, Matlab knowns how to fill in blank ("zero") values of the corre...
대략 5년 전 | 답변 수: 1 | 0
1
답변질문
How to implement MyClass that overloads all methods of a certain naitive class ?
I have a class MyClass that has a numerical property Val. I want the class to overload any/all numerical functions, such that fc...
대략 5년 전 | 답변 수: 2 | 1
2
답변답변 있음
How to make a class object respond to a long stream of event listener callbacks only at the end of the stream of events
looks great - much thanks!!
How to make a class object respond to a long stream of event listener callbacks only at the end of the stream of events
looks great - much thanks!!
5년 초과 전 | 0
질문
How to make a class object respond to a long stream of event listener callbacks only at the end of the stream of events
I have an object Obj of a handle class MyClass that listens for "Change" event notifications from other objects. Obj runs an "u...
5년 초과 전 | 답변 수: 2 | 0
2
답변질문
How can I find all object of a certain handle class?
I need to find all current object memory instances of a certain handle class "MyClass". I cannot use "findobj" because I do no...
5년 초과 전 | 답변 수: 1 | 0
1
답변질문
Axis fontsize and text fontsize not matching
I am using the code below that shows the same text as axis xlabel and as a text object. These two labels appear in different siz...
6년 초과 전 | 답변 수: 2 | 0