Main Content

isLoaded

Get real-time application loaded status

Since R2021b

Description

isLoaded(target_object,app_name) returns the real-time application loaded status of the Speedgoat® target computer.

example

Examples

collapse all

Get the loaded status of a real-time application on the target computer.

  1. To get the loaded status of any real-time application on the target computer, use:

    [LOADED, LOADEDAPPNAME] = isLoaded(tg)
    LOADED =
    
      logical
    
       1
    
    
    LOADEDAPPNAME =
    
        'slrt_ex_osc'
  2. To get the loaded status of a real-time application that you select on the target computer, use:

    [LOADED, LOADEDAPPNAME] = isLoaded(tg, 'slrt_ex_osc')
    LOADED =
    
      logical
    
       1
    
    
    LOADEDAPPNAME =
    
        'slrt_ex_osc'

Input Arguments

collapse all

Provides access to methods that manipulate the target computer properties.

Example: tg

Provides name of real-time application MLDATX file that you built from the model.

Example: 'slrt_ex_osc'

Version History

Introduced in R2021b

See Also