In this paper we define ``embedded optimal control problems" which prescribe parametrized families of well defined associated optimal control problems. We show that the extremal generating Hamiltonian equations for an embedded optimal control problem and any associated optimal control problem are simply related by a projection. Furthermore normal extremals project to normal extremals and similarly for abnormal extremals. An interesting class of embedded optimal control problems consists of Clebsch optimal control problems. We provide necessary conditions for a Clebsch optimal control problem to describe a variational problem and thereby a mechanical system. There may be many advantages to analyzing an embedded optimal control problem instead of a particular associated optimal control problem, for example the former being defined on a linear space and the latter on a nonlinear space. The continuous analysis is paralleled by a similar discrete analysis. We define a discrete embedded/Clebsch optimal control problem along with associated discrete optimal control problems and we show results that are analogous to the continuous results. We apply the theory, both in the continuous and the discrete setting, to two example systems: mechanical systems on matrix Lie groups and mechanical systems on $n$-spheres.