Community Profile

photo

Joel Andersson


Self-employed

Active since 2011

Professional Interests: Numerical optimization, optimal control, algorithmic differentiation

Statistics

  • First Review
  • Thankful Level 1

View badges

Content Feed

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

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

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

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

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

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

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

12 years ago | 1 answer | 0

1

answer