So I have a batch file that performs all the tasks I need it to do but when I get to the step that perform some Matlab code generation, I just doesn't do it.
In TeamCity it calls matlab then does 1 of my 2 initialization scripts then exits. I cannot figure out why this is. Also after those initialization steps I need to open a file (because it has custom functionality that only works when it is open) then call a function that performs a task on that model.
This all works fine the way I want in command line. the matlab step is the only thing that doesn't work properly in TeamCity.