Main Content

getAvailableProfile

Get information about available execution profiler data

Description

example

prof_info = getAvailableProfile(target_object,app_name) gets information about execution profile data that is available for the specified real-time application on the target computer.

example

prof_info = getAvailableProfile(target_object,'-all') gets information about execution profile data that is available for all real-time applications on the target computer.

Examples

collapse all

For target computer object tg, get information about available execution profiler data for application my_app.

my_prof_info = getAvailableProfile(tg, 'my_app');

For target computer object tg, get information about all available execution profiler data for installed applications.

my_prof_info = getAvailableProfile(tg, '-all');

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'

Output Arguments

collapse all

If no profiler data is available, the prof_info is an empty string. If profiler data is available for the selected real-time application, the returned string contains the application name. If profiler data is available for multiple applications and you use the '-all' option, the return value is an area of strings with each string containing an application name..

Introduced in R2020b