An emotion-based task sharing approach has been developed for a cooperative multiagent robotic system. A stochastic emotion model based on Markov theory is adopted to conform the emotional state of agents while performing task. The task assignment and then task sharing among the agents depend on the emotional state of each agent. Different emotional traits are considered as important factors for task sharing which are obtained by updating the state transition matrix of stochastic model. Perception of stimuli has an impact on emotion inducing factors and thus, affects on emotion dynamics. A Matlab based simulation is performed with the developed emotional approach to analyze the behavior of the agents with the emotional capability.