Contenido principal

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

Object that represents target computer, specified as a Target object. The object provides access to methods that manipulate the target computer properties.

Example: tg

Real-time application MLDATX file name that you build from the model, specified as a character vector or string scalar.

Example: "slrt_ex_osc"

Version History

Introduced in R2021b

See Also