matlab - Is there a procedure to convert m-file-function to C(or MEX) S-function? -
i have simple function written matlab code. example:
function s = sum_inputs(a,b) s = a+b;
this function derives matlabfunction
command application using symbolic expression. convert s-function speed-up performance, illustration c s-function, mex s-function, etc instead of using in matlab s-function block or interpreted matlab block. thanks
don't utilize c or mex s-function simple that. utilize matlab function block instead. uses code generation much faster interpreted matlab function block.
matlab simulink symbolic-computation s-function
No comments:
Post a Comment