Hello Ankit,
please use the matlab function block instead, and see the documentation here for how to program it: https://www.mathworks.com/help/simulink/slref/matlabfunction.html
Regards,
Joel
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!