Main Content

cleanup

Class: coder.make.ToolchainInfo
Package: coder.make

Run cleanup commands

Syntax

h.cleanup

Description

h.cleanup runs cleanup commands after completing the software build process. First, it runs the commands specified by coder.make.ToolchainInfo.ShellCleanup, and then it runs the commands specified by coder.make.ToolchainInfo.MATLABCleanup.

The commands in ShellCleanup run as system calls to the standard input of the operating system on your host computer. These commands are similar to what you enter when you use the command line.

The commands in MATLABCleanup run in your MATLAB® software.

Input Arguments

expand all

A coder.make.ToolchainInfo object, specified using an object handle, such as h. To create h, enter h = coder.make.ToolchainInfo in a MATLAB Command Window.

Output Arguments

expand all

Indication whether cleanup completed (0 = false, 1 = true), returned as a scalar.

Data Types: double

Detailed information generated by the cleanup commands, returned as a character vector.

Data Types: double

Examples

[success,report] = h.cleanup
success  = 

     1


report  = 

     ''