photo

Markus Leuthold


Sonova AG

Last seen: 9 giorni fa Attivo dal 2012

Followers: 0   Following: 0

Messaggio

Statistica

All
  • First Submission
  • GitHub Submissions Level 1
  • Thankful Level 2
  • Leader
  • First Review
  • 3 Month Streak
  • Thankful Level 1
  • First Answer
  • Solver

Visualizza badge

Feeds

Visto da

Inviato


Orbit3d
3d orbiting camera control for Matlab uiaxes

circa un anno fa | 1 download |

Risposto
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...

circa un anno fa | 0

Risposto
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...

oltre un anno fa | 3

Risposto
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...

oltre un anno fa | 0

Domanda


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...

oltre 2 anni fa | 2 risposte | 1

2

risposte

Risolto


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 ...

quasi 5 anni fa

Domanda


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...

circa 5 anni fa | 1 risposta | 0

1

risposta

Domanda


assign class object to array
Assume the following class classdef A < handle methods function obj = A disp('constructor called') ...

circa 5 anni fa | 1 risposta | 0

1

risposta

Risposto
How 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...

oltre 5 anni fa | 6

Domanda


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....

oltre 5 anni fa | 1 risposta | 0

1

risposta

Risolto


Create a row array using double colon operator
Create a row array from 9 to 1, using the double colon operator.

circa 8 anni fa

Domanda


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...

oltre 8 anni fa | 2 risposte | 0

2

risposte

Domanda


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...

quasi 9 anni fa | 1 risposta | 0

1

risposta

Domanda


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 ...

quasi 9 anni fa | 1 risposta | 0

1

risposta

Domanda


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'; ...

circa 9 anni fa | 0 risposte | 0

0

risposte

Risposto
comparing two tables or datasets
table1=table(....) table2=table(....) %comparison s1=table2struct(table1) s2=table2struct(table2) if isequa...

oltre 9 anni fa | 0

Domanda


nargout with class method handles
Assume you have the following class classdef MyClass methods function fcn(~) end end ...

oltre 9 anni fa | 1 risposta | 0

1

risposta

Risposto
How 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...

oltre 9 anni fa | 1

Risposto
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...

oltre 9 anni fa | 0

Risolto


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...

quasi 10 anni fa

Risposto
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...

quasi 10 anni fa | 0

Domanda


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 ...

oltre 10 anni fa | 0 risposte | 0

0

risposte

Domanda


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 ...

oltre 10 anni fa | 1 risposta | 2

1

risposta

Risposto
How 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...

quasi 12 anni fa | 0