1. A mechatronic system attachable to a human body, the system comprising: a prosthetic joint; at least one sensor configured to gather data regarding a motion parameter of the prosthetic joint; an actuator configured to control movement of the prosthetic joint; a memory storing a first set of instructions for controlling the actuator based on the sensor data; a communication interface configured to communicate data with a data source external to the prosthetic joint, the communicated data comprising a second set of instructions for controlling the actuator based on the sensor data; and a processor configured to execute the stored first set of instructions, execution of the first set of instructions causing the processor to determine a first actuator control command based on the sensor data that controls movement of the prosthetic joint according to a first activity, the processor further being configured to receive and execute the second set of instructions, execution of the second set of instructions causing the processor to determine a second actuator control command based on the sensor data that controls movement of the prosthetic joint according to a second activity, the first actuator control command being different than the second actuator control command, and the first activity being different than the second activity, wherein the memory is further configured to store the second set of instructions, wherein the stored second set of instructions replaces the stored first set of instructions in the memory.