Welfare and Institutions Code § 1783
ARTICLE 5. Commitment to State Prison After Expiration of Control
An appeal may be taken from the order of the court committing a person to the State prison under this chapter in the same manner as appeals are taken from convictions in the criminal cases under the Penal Code.