'Handle matlab-specific parsing'

def setup(self):

    _ = self.capa_system.i18n.ugettext
    submitted_msg = _('Submitted.    As    soon    as    a    response    is    returned,    this    message    will    be    replaced    by    that    feedback.')
    self.submitted_msg = submitted_msg
    self.setup_code_response_rendering()
    xml = self.xml
    self.plot_payload = xml.findtext('./plot_payload')
    self.queuename = 'matlab'
    self.queue_msg = ''
    if (('queue_msg' in self.input_state) and (self.status in ['queued', 'incomplete', 'unsubmitted'])):
        self.queue_msg = sanitize_html(self.input_state['queue_msg'])
    if (('queuestate' in self.input_state) and (self.input_state['queuestate'] == 'queued')):
        self.status = 'queued'
        self.queue_len = 1
        self.msg = self.submitted_msg
        if (('queuetime' not in self.input_state) or ((time.time() - self.input_state['queuetime']) > XQUEUE_TIMEOUT)):
            self.queue_len = 0
            self.status = 'unsubmitted'
            self.msg = _('No    response    from    Xqueue    within    {xqueue_timeout}    seconds.    Aborted.').format(xqueue_timeout=XQUEUE_TIMEOUT)
