This paper gives out the definition of switched systems and those solution structure. Using railway signal systems, we put out a switched computation method of railway route. The macro route and cent route are computed out by the switched matrices or transfer matrices. Traditionally, the route are searched by deep or width methods of the graph. The switched route computation method can expediently by Matlab programming and matrices operations. An practical instance of railway station and its experimental data are analyzed by this computation algorithms.