Main Content

update

Update RTOS version on target computer

Since R2020b

Description

update(target_object) updates any out-of-date, not-current version RTOS files on the Speedgoat® target computer. When you update the RTOS on the target computer, the process removes the target computer applications folder and the installed real-time application MLDATX files.

example

update(target_object,'force',true) forces an update of all RTOS files on the Speedgoat target computer to the current version. When you update the RTOS on the target computer, the process removes the target computer applications folder and the installed real-time application MLDATX files.

example

Examples

collapse all

Create a target object that represents the target computer. Update the RTOS version on the target computer. Connect the development computer and target computer.

tg = slrealtime('TargetPC1');
update(tg);
connect(tg);

Create a target object that represents the target computer. Force the update of the RTOS version on the target computer. The force option is needed for some RTOS states. Connect the development computer and target computer.

tg = slrealtime('TargetPC1');
update(tg,'force',true);
connect(tg);

Input Arguments

collapse all

Provides access to methods that manipulate the target computer properties.

Example: tg

Version History

Introduced in R2020b