Syntax

rtobj.getCurrentSession

Description

getCurrentSession is a method of the simwb.rtobj object. The method getCurrentSession will return the name of the session that is currently running on the real-time host. If no test session is currently running this method will return the name of the most recent session.

See also:

     disconnect

Example: rtobj_getCurrentTestandSession.m