2.2.2.1.2 Matlab::Detach

Description

Destroys the connection with Matlab

Syntax

BOOL Detach( )

Parameters

Return

Returns TRUE if connection is being destroyed, FALSE if the operation failed.

Examples

EX1

#include <ExternApps.h>

void Matlab_Detach_ex1()
{
	Matlab matObj;
	matObj.Attach();        //establish the connection
	matObj.Detach();    //destroys the connection
}

Remark

See Also

Matlab::Attach

Header to Include

ExternApps.h