Prosthetic device comprising: - a limb or artificial joint or orthosis or an exoskeleton comprising a mechanism provided with at least an actuator and configured to carry out one or more actions; - a power supplying source; - at least an input source modulated by the contraction of one or more muscles of the subject wearing the device, comprising at least an electrode; - electronic computing means, on which computer programs are loaded, configured to detect the signals coming from said at least one input source and to actuate said at least one actuator in order that said mechanism carries out an action as a function of the signals coming from said at least one input source, characterized in that on said computing means computer programs are loaded configured to carry out the method comprising the steps of: recording the signals (Ns) detected by said at least one electrode while said subject wearing the device is in a predetermined condition of movement or rest, for a predetermined time interval Δ T; subdividing each of said signals (Ns) in a plurality of time intervals of predetermined duration; extracting from the signal relative to each of the time intervals defined at step at least a characteristic parameter (feature) relative to the signal selected from the list comprising: peak or peak-to-peak average amplitude, peak or peak-to-peak maximum amplitude, effective value, power spectrum average frequency, power spectrum median frequency, -6dB power spectrum band, -20dB power spectrum band; calculating a statistical estimator for each feature calculated at step, repeating the steps to sequentially with said subject in rest condition and, in the following, with said subject carrying out a known movement selected from a list of a plurality of predetermined movements (Mov_1, Mov_2,..., Move_n) for each iteration, associating a vector defined by the set of the values of the features calculated at step with each movement known carried out by the subject and with the rest condition of step, and storing said vectors. - a limb or artificial joint or orthosis or an exoskeleton comprising a mechanism provided with at least an actuator and configured to carry out one or more actions; - a power supplying source; - at least an input source modulated by the contraction of one or more muscles of the subject wearing the device, comprising at least an electrode; - electronic computing means, on which computer programs are loaded, configured to detect the signals coming from said at least one input source and to actuate said at least one actuator in order that said mechanism carries out an action as a function of the signals coming from said at least one input source, recording the signals (Ns) detected by said at least one electrode while said subject wearing the device is in a predetermined condition of movement or rest, for a predetermined time interval Δ T; subdividing each of said signals (Ns) in a plurality of time intervals of predetermined duration; extracting from the signal relative to each of the time intervals defined at step at least a characteristic parameter (feature) relative to the signal selected from the list comprising: peak or peak-to-peak average amplitude, peak or peak-to-peak maximum amplitude, effective value, power spectrum average frequency, power spectrum median frequency, -6dB power spectrum band, -20dB power spectrum band; calculating a statistical estimator for each feature calculated at step, repeating the steps to sequentially with said subject in rest condition and, in the following, with said subject carrying out a known movement selected from a list of a plurality of predetermined movements (Mov_1, Mov_2,..., Move_n) for each iteration, associating a vector defined by the set of the values of the features calculated at step with each movement known carried out by the subject and with the rest condition of step, and storing said vectors.