fix syntax error.
use Matlab S-Function rather than a C S-Function (simulation initialization time speed up).