Question: Pls help me check this problem of "Kernel connection has been lost"

3902_problem.JPG when i am using CodeGeneration for Matlab in this file, the Maple gives out this error of "Kernel connection has been lost". But when I tried other cased of CodeGeneration for Matlab, sometimes it is working well.
Please Wait...