The problem is, you apparently do not appreciate the basics of MATLAB.
One does not create a vector of (symbolic) variables to use in a tool like ode15s. ode15s takes a vector of NUMERIC starting values. It then returns a predicted solution based on the equations you pose, at a given set of times.
There are no symbolic variables that you need to create or define or allocate here. Really, it is best that you start reading the basic tutorials about variables and how to call functions, etc. These are fundamental concepts in MATLAB.
Regardless, as the help for sym indicates:
This creates M-by-N vectors or matrices of symbolic scalar variables.