Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Group

Model Preparation

Description

Clean model directory on targets. All intermediate files and

folder

folders are removed.

Required Control

System control

Usage

option = RtlabApi.OP_MODEL_CLEAN_TARGET_COMPILE
RtlabApi.ModelClean (option);

Input

  • option: Parameters to use when cleaning the model directory. See OP_MODEL_CLEAN_DEFINE for more information.

Output

None

Exception

  • EOK: Command successfully issued (See Description for more information).

  • EPERM: System control was not granted to this client.

  • EBUSY: Model executables already loaded.

  • EBADF: Model not specified by previous OpalConnect or

OpalSetCurrentModel
  • OpenProject.

  • EIO: Error sending the request or receiving the reply.

  • EINVAL: This operation is not supported on the specified target platform.

Examples

None

Related Items

OP_MODEL_CLEAN_DEFINE

.

Modules

import RtlabApi