Markus Leuthold
Sonova AG
Followers: 0 Following: 0
Statistiques
RANG
2 286
of 295 495
RÉPUTATION
27
CONTRIBUTIONS
11 Questions
9 Réponses
ACCEPTATION DE VOS RÉPONSES
18.18%
VOTES REÇUS
13
RANG
18 873 of 20 240
RÉPUTATION
0
CLASSEMENT MOYEN
0.00
CONTRIBUTIONS
1 Fichier
TÉLÉCHARGEMENTS
2
ALL TIME TÉLÉCHARGEMENTS
8
CONTRIBUTIONS
0 Publications
CONTRIBUTIONS
0 Public Chaîne
CLASSEMENT MOYEN
CONTRIBUTIONS
0 Point fort
NOMBRE MOYEN DE LIKES
Feeds
How can I make a mock method return different answers?
Example from Invoke function handle when method is called - MATLAB - MathWorks Switzerland (implemented in R2018b) testCase = m...
plus d'un an il y a | 0
Is there a simpler way to create an empty Table with a list of VariableNames?
Mathworks, please allow tbl = table("VariableNames", ["var1" "var2"....]); and avoid ugly hacks like array2table(zeros(0... o...
plus d'un an il y a | 3
Arguments function: Name-value arguments in default values
Same with this code, which I expect to work, but it fails with the same error message arguments opts.A = mustBeMember(opts...
presque 2 ans il y a | 0
Question
How to create an uifigure with gcf
I'm looking for an gcf() equivalent for the new web-based uifigure(). Or in other words, I'm looking for this function: If no u...
plus de 2 ans il y a | 2 réponses | 1
2
réponsesQuestion
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...
plus de 5 ans il y a | 1 réponse | 0
1
réponseQuestion
assign class object to array
Assume the following class classdef A < handle methods function obj = A disp('constructor called') ...
plus de 5 ans il y a | 1 réponse | 0
1
réponseHow 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...
plus de 5 ans il y a | 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....
plus de 5 ans il y a | 1 réponse | 0
1
réponseQuestion
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...
plus de 8 ans il y a | 2 réponses | 0
2
réponsesQuestion
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...
environ 9 ans il y a | 1 réponse | 0
1
réponseQuestion
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 ...
environ 9 ans il y a | 1 réponse | 0
1
réponseQuestion
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'; ...
environ 9 ans il y a | 1 réponse | 0
0
réponsecomparing two tables or datasets
table1=table(....) table2=table(....) %comparison s1=table2struct(table1) s2=table2struct(table2) if isequa...
plus de 9 ans il y a | 0
Question
nargout with class method handles
Assume you have the following class classdef MyClass methods function fcn(~) end end ...
plus de 9 ans il y a | 1 réponse | 0
1
réponseHow 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...
plus de 9 ans il y a | 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...
plus de 9 ans il y a | 0
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...
environ 10 ans il y a | 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 ...
plus de 10 ans il y a | 1 réponse | 0
0
réponseQuestion
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 ...
plus de 10 ans il y a | 1 réponse | 2
1
réponseHow 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...
environ 12 ans il y a | 0