photo

surya


Active since 2012

Followers: 0   Following: 0

Message

Statistics

  • Thankful Level 1
  • First Answer

View badges

Feeds

View by

Question


mex setup gfortran mac osX
Gentlemen, I'm trying to run "mex -setup -v FORTRAN" and I get the following response. I have MATLAB 2015a and gfortran 6.1. Any...

8 years ago | 0 answers | 1

0

answers

Answered
how to clear variables in code generation ?
Thanks for your response! nothing in particular, the code is running fine. but the speed at which the mex is running is multiple...

11 years ago | 0

Question


how to clear variables in code generation ?
Hello, I'm trying to generate C-code from Matlab using "codegen". Codegen does not support "clear var1" call, considering "v...

11 years ago | 2 answers | 0

2

answers

Question


stable approximation of (1/cosx)
I'm trying to simulate a function that has a 1/cos(x) term. The value of 1/cos(x) tends to infinity as cos(x) approaches zero. I...

11 years ago | 1 answer | 0

1

answer

Question


MATLAB Crashes while I try to generate C-code
Hello! I've a perfectly working M-file, it does solve a finite element problem and generates several vectors and matrices of d...

11 years ago | 1 answer | 0

1

answer

Answered
How to delete rows/columns of a matrix in Embedded Matlab Fcn?
Thanks for your response. And let me explain, no i'm not intending to write C-code. I'm writing an embedded matlab function to g...

11 years ago | 0

Question


How to delete rows/columns of a matrix in Embedded Matlab Fcn?
I'm trying to remove specific set of rows and columns of a matrix. In MATLAB, i can just assign them to '[]'. I hope I cannot do...

11 years ago | 3 answers | 0

3

answers

Answered
Best way to specify parameters for a Simulink Embedded Matlab Fcn
Finally! %#codegen gives the capability of passing the parameters as a structure and that is neat now. Thanks!

11 years ago | 0

| accepted

Question


Best way to specify parameters for a Simulink Embedded Matlab Fcn
I have a fairly large Embedded matlab function that calls 20 other functions that are referenced below in the same Matlab Fcn bl...

11 years ago | 1 answer | 0

1

answer

Question


Solving ODE, simulink vs matlab
Usually, when a set of dynamic equations (nonlinear or linear) are to be solved, we use 'integrator' block in simulink. On the o...

12 years ago | 0 answers | 0

0

answers

Answered
Calculation of dead time and time constant for non linear system
Calculation of dead time is a bit debatable aspect, you might want to look at a data based approach, like system identification....

12 years ago | 0