Main Content

deleteCoreFiles

Deletes crash stack core files from target computer

Since R2026a

Description

deleteCoreFiles(target_object,model_name) deletes crash stack core files from the target computer. Use this function to remove unneeded crash stack core files that are using up disk space on the target computer. If you use the optional model_name argument, the function only deletes crash stack core files that are related to the selected model.

example

Examples

collapse all

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

tg = slrealtime;
connect(tg);
my_files = deleteCoreFiles(tg);

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

Version History

Introduced in R2026a