Main Content

getTargetInfo

Creates info.txt file that provides information about target computer from target object

Description

example

[status,info] = getTargetInfo(target_object) displays target computer information from the target object and creates an info.txt file that provides information about the target computer for MathWorks support.

Examples

collapse all

To display target computer information from the target object, run the getTargetInfo command. This command creates file c:\temp\info.txt.

tg = slrealtime;
connect(tg)
[status,info] = getTargetInfo(tg)

Input Arguments

collapse all

Provides access to methods that manipulate the target computer properties.

Example: tg

Output Arguments

collapse all

The status is the target computer returned from the function. The value is non-zero only if there is an issue to resolve on the target computer.

The info is the full text of the generated info.txt file. This content is returned on the development computer in file in c:\temp\info.txt. If info is omitted, the information is not displayed, but the file is created.

Introduced in R2021a