Inscribirse vs. matricularse

While 'inscribirse' and 'matricularse' both mean 'to sign up' or 'to enroll' in Spanish, they are used in slightly different contexts and have nuanced differences in their usage.

Inscribirse

'Inscribirse' is generally used for signing up or registering for shorter-term activities, events, or less formal educational programs.
Me voy a inscribir en un curso de cocina.
(I'm going to sign up for a cooking course.)
¿Te has inscrito ya en el torneo de fútbol?
(Have you signed up for the soccer tournament yet?)
Los estudiantes deben inscribirse para el examen antes del viernes.
(Students must register for the exam before Friday.)

Matricularse

'Matricularse' is typically used for enrolling in more formal, long-term educational programs, particularly in schools, colleges, or universities.
Me voy a matricular en la universidad este otoño.
(I'm going to enroll in the university this fall.)
Los nuevos estudiantes deben matricularse antes del inicio del semestre.
(New students must enroll before the start of the semester.)
¿En qué carrera te has matriculado?
(Which degree program have you enrolled in?)

Summary

While both 'inscribirse' and 'matricularse' relate to signing up or enrolling, 'inscribirse' is more commonly used for shorter-term or less formal activities, while 'matricularse' is typically used for formal, long-term educational programs. 'Inscribirse' might be used for a workshop or a sports event, whereas 'matricularse' would be used for enrolling in a school or university program.