Statistics
RANK
2 406
of 258 293
REPUTATION
18
CONTRIBUTIONS
10 Questions
6 Answers
ANSWER ACCEPTANCE
20.0%
VOTES RECEIVED
9
RANK
of 17 801
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Content Feed
Solved
Query every vertices neighbor indices
Input T is a <https://fr.mathworks.com/help/matlab/ref/triangulation.html triangulation>. The purpose of this function is to ...
plus de 2 ans ago
Question
Create a mock with defined behavior on different subsequent method calls
Assume a mocked class testCase = matlab.mock.TestCase.forInteractiveUse; [mock, behavior] = createMock(testCase, "AddedMethods...
presque 3 ans ago | 1 answer | 0
1
answerQuestion
assign class object to array
Assume the following class classdef A < handle methods function obj = A disp('constructor called') ...
presque 3 ans ago | 1 answer | 0
1
answerHow do I use live script (*.mlx) files in source control?
This is going into a completely wrong direction. Source code files must be text files. The toolchain does not only consist of Ma...
environ 3 ans ago | 6
Question
unit test mocking framework: verify a method was called in a sequence
I want to verify that a method was called twice with inputs to be verified I want to make sure that cls.myfunc('first') cls....
environ 3 ans ago | 1 answer | 0
1
answerSolved
Create a row array using double colon operator
Create a row array from 9 to 1, using the double colon operator.
plus de 5 ans ago
Question
compare anonymous function handles
The following comparison of two function handles should return true in my opinion f1=@(x,y)(x*y) f2=@(x,y)(x*y) isequ...
environ 6 ans ago | 2 answers | 0
2
answersQuestion
listener on graphics property 'BeingDeleted'
How do I add a listener to a graphics object being deleted? It seems like 'BeingDeleted' is set to 'on' during deletion. Further...
plus de 6 ans ago | 1 answer | 0
1
answerQuestion
calling java base64 constructor with arguments
I want to convert a character array into a Base64 stream using java. The class org.apache.commons.codec.binary.Base64 ...
plus de 6 ans ago | 1 answer | 0
1
answerQuestion
how to display a hggroup in plotbrowser
How do I make a hggroup show up in the plotbrowser? hg = hggroup; hg.Annotation.LegendInformation.IconDisplayStyle='on'; ...
plus de 6 ans ago | 0 answers | 0
0
answerscomparing two tables or datasets
table1=table(....) table2=table(....) %comparison s1=table2struct(table1) s2=table2struct(table2) if isequa...
environ 7 ans ago | 0
Question
nargout with class method handles
Assume you have the following class classdef MyClass methods function fcn(~) end end ...
environ 7 ans ago | 1 answer | 0
1
answerHow can I use NARGIN/NARGOUT to determine the number of input/output arguments of an object method?
It's almost five years later and this bug still exists. Any news from Mathworks on how to handle this situation in 2015? Exam...
environ 7 ans ago | 1
Modifying an immutable/protected variable of a subclass in a superclass method
While I agree that the initial code breaks encapsulation and is not best-practise, the code should still work in my opinion. The...
environ 7 ans ago | 0
Solved
Handle to an array of functions
Given a cell array of functions that operate on scalars, it is required to return a function handle to process a vector of value...
plus de 7 ans ago
Determine if using HG2
For any handle returned by a plot command, isa(h,'handle') returns true if HG2 is used, false otherwise. The command doe...
plus de 7 ans ago | 0
Question
transform struct into different representation
how do I transform a into b such that a.x(idx)==b(idx).x Example a.x=[1 2] a.y=[3 4] into b(1).x=1 ...
presque 8 ans ago | 0 answers | 0
0
answersQuestion
unexpected value for nargout when returning a class/struct
What values for nargout would you expect for the last two lines in the run block: 0 or 1? Class A classdef A < handle ...
presque 8 ans ago | 1 answer | 2
1
answerHow can I write .NET event in C# and attach a matlab callabk to them
Hi Amir the handling of .NET events in Matlab is indeed really strange. They are only fired under certain conditions, which d...
plus de 9 ans ago | 0