Create trainCtl.m