DSPRelated.com
Forums

Calling a Simulink block from .m code

Started by Vincent Coral April 7, 2008
Hi guys,

I'm working on a project with fixed-point toolbox on Matlab.
I need to seriously sum tons of fixed point objects, and found there's no
vectorized method around to do so.

Just found that "Matrix Sum" in Simulink might do what I need, but I'm quite
not sure how to call those blocks from .m code.
I traced that, and found that sdspmsumprod.mexw32 seems to do the magic, but
there's no help around.
Just checked a way to pass it many config parameters, but no have no clue
how to work around input parameters?

Any ideas how to dig on this?

Thanks,