I am trying to write a C-MEX S-function that calls some legacy code and I need to pass several arrays to the function with a fixed point or void type. I can get the types of the s-function ports set to built-in types such as "int16" or "uint16" but I can't set them to a fixed-point type.
I need to use a fixed point alias type for my parameters. The type will be determined by a parameter object in the base workspace. The object is either from the MPT class (mpt.Parameter) or some derived class. The parameters need to be passed to the legacy function being called.
Best Answer