メインコンテンツ

getCrashStack

Downloads and decodes crash stack core files from target computer and opens these in MATLAB editor

Description

files = getCrashStack(target_object,model_name) downloads and decodes crash stack core files from the Speedgoat® target computer for the model and opens these in the MATLAB editor. The decoded core files help you investigate issues that cause application crashes on the target computer.

example

Examples

collapse all

Create a Target object tg. Connect to the target computer. Get and open any crash stack information that is available on the target computer.

model = "slrt_ex_osc";
tg = slrealtime;
connect(tg);
my_files = getCrashStack(tg,model);

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

Example: 'slrt_ex_osc'

Data Types: char | string | handle

Output Arguments

collapse all

Holds file names created from downloaded and decoded core files.

Version History

Introduced in R2020b