Community Profile

photo

Christian Heigele


8 total contributions since 2017

null

Christian Heigele's Badges

  • Knowledgeable Level 1
  • Thankful Level 1
  • First Answer

View details...

Contributions in
View by

Answered
extract array from a matrix
Logical indexing: A(A(:,1)==10,:) That states which rows you want to select: A(:,1)==10 , with A(cond, :) you access all ...

1 year ago | 1

| accepted

Answered
I am having multiple functions in my program which is saved in a same folder. how do i verify all functions were used in the program
It sounds like you want to use the profiler to get a code coverage analysis. That is described <https://ch.mathworks.com/help...

1 year ago | 0

Answered
How do I combine 2d matrices mat files into a single 3d matrices file?
I would use cat. If you want to list them explicitly: A1 = rand(3,3); A2 = rand(3,3); A3 = rand(3,3); A_all1 = ca...

1 year ago | 0

Answered
How to use webread to download numerical data
Most likely your missing your credentials: options = weboptions('Username','jdoe','Password','mypassword'); webread(url, opt...

1 year ago | 1

| accepted

Answered
How to load variable in a nested structure from file
We use for data like this either xml-files or yaml-files. A good xml-parser is that one here: https://ch.mathworks.com/matlabce...

1 year ago | 0

Answered
How to change unittest console log
I had the same problem, and since the creation of those test names is not injectable, I did a nasty workaround: This whole t...

1 year ago | 0

Question


TAP results do not show up during execution time, if a TestClassSetup is present
Hi there I have a problem. We use the Matlab testing framework to analyze our codebase. To track the results in our CI system...

1 year ago | 1 answer | 0

1

answer

Question


Unit Testing: How to treat errors as failures
Whenever one of my functions throws an error that was not intended in that test-case the whole test suite stops. Is there any po...

2 years ago | 2 answers | 0

2

answers