Community Profile

photo

Steradiant


Last seen: 1 year ago Active since 2019

Statistics

  • Thankful Level 3

View badges

Content Feed

View by

Question


PWork loses data in S-function
Hello, I want to read out the data (which are structures) from the S-functions parameter dialog at Startup and use them in ever...

3 years ago | 1 answer | 0

1

answer

Question


Profiling handwritten MEX C-Function
Hello, is there a way to profile a handwritten MEX C-function to determine which part of the code needs the most execution time...

3 years ago | 0 answers | 0

0

answers

Question


Difference/usage of mwIndex, mwSignedIndex and mwSize in mex C-code
Hello, I'm writing mex C-code and I am wondering how to correctly use the datatypes mwIndex, mwSignedIndex and mwSize. The desc...

3 years ago | 1 answer | 0

1

answer

Question


Advantages of mwsize (Cross-Platform Flexibility)?
Hello, in the documentation there is the hint to use mwsize rather than int for Cross-Platform Flexibility. What is the actual ...

3 years ago | 2 answers | 0

2

answers

Question


Increase number of legend entries in Simulink Scope
Hello, I have some vector-valued singals in my Simulink model which I want to display in Scopes. Sadly, the scopes only shows 2...

3 years ago | 1 answer | 0

1

answer

Question


Discrete S-Function doesn't update inputs
Hello, I have written a C MEX-S-Function for my model. I set the sample time as follows: static void mdlInitializeSampleTimes(...

3 years ago | 0 answers | 0

0

answers

Question


linsolve with symmetric property set is slower than without
Hello, I want to improve the performance of solving a system of linear equations Ax=b. I have a symmetric A matrix. This matrix...

3 years ago | 0 answers | 0

0

answers

Question


Warning: Initializing MATLAB Graphics failed.
Hello, I installed MATLAB 2020b on Ubuntu 20.04 LTS. Everytime when I start matlab I get the following warning: Warning: I...

3 years ago | 1 answer | 5

1

answer

Question


Set hessian function only once for fmincon
I'm calculating the analytic hessian for the interior-point algorithm of fmincon like described here: https://de.mathworks.com/h...

3 years ago | 1 answer | 0

1

answer

Answered
Solve symbolic equation with derivatives
isolate(eqn,expr) is the function I was looking for.

4 years ago | 0

| accepted

Question


Solve symbolic equation with derivatives
I want to solve an equation with the symbolic math toolbox. This equation also contains derivatives. E.g.: eqn1 = 0 == x + y + ...

4 years ago | 2 answers | 0

2

answers

Question


Mistake in fft() help (calculation of single-sided spectrum)?
In the fft() help, a single sided spectrum is calculated as follows: Y = fft(X); P2 = abs(Y/L); P1 = P2(1:L/2+1); P1(2:end-1...

4 years ago | 1 answer | 0

1

answer

Question


Rotation order of quatrotate
Hello, I'm about the function quatrotate. I want to rotate the vector [0,0,1] (means pointing into z-direction of the world fra...

5 years ago | 1 answer | 1

1

answer