Community Profile

photo

Joel Andersson


Self-employed

7 total contributions since 2011

Professional Interests: Numerical optimization, optimal control, algorithmic differentiation

Contact

Joel Andersson's Badges

  • First Review
  • Thankful Level 1

View details...

Contributions in
View by

Question


Wrapping a MEX function that has an "ans" output in some cases
I have a MEX function that returns an "ans" output in some cases, but in others not. It looks something like this: /* List...

4 years ago | 2 answers | 0

2

answers

Question


Safe memory management when interfacing code via MEX
I am using MEX to interface to C/C++ code, which includes the creation of objects that will outlive the call to the MEX-function...

4 years ago | 1 answer | 0

1

answer

Answered
Overload subsref for getting and setting static properties
Non-constant static properties are not supported in MATLAB. Here is a good explaination why: http://stackoverflow.com/a/6453124/...

6 years ago | 0

| accepted

Question


Overload subsref for getting and setting static properties
If I have written a class MyClass, I can customize the behavior of expressions such as a.myProperty, a(4) where a is an instance...

6 years ago | 1 answer | 0

1

answer

Question


Writing a code generator for MuPAD
I am trying to find out how to write a code generator for MuPAD / Symbolic Math Toolbox for Matlab. Basically, I would like to e...

7 years ago | 0 answers | 1

0

answers

Question


Accessing Matlab class data member and libpointer in interfaced C code
Hello! I have a MEX-function to which I pass either a normal matrix or a Matlab class instance where one of the data members ...

8 years ago | 1 answer | 0

1

answer

Question


C function returning an mxArray pointer
Hello! I am trying to interface our software to Matlab using the functionality to call external, shared libraries from Matlab...

8 years ago | 1 answer | 0

1

answer