|
|
|
|
|
mlResetWorkSpace (Function) In french: mlRAZEspaceDeTravail Deletes all the variables from the MATLAB session. tRésultat is array of 1 by 1 real = [[123]]
mlResetWorkspace(gnIdSession)
tRésultat = mlGetVariable(gnIdSession, "maRac")
IF ErrorOccurred THEN
Trace("Erreur : " + ErrorInfo())
END
Trace("Racine = " + tRésultat[1,1])
Syntax
<Result> = mlResetWorkspace(<Session identifier>)
<Result>: Boolean - True if the work space is reinitialized,
- False otherwise. If an error occurs, the ErrorOccurred variable is set to True. To get more details on the error, use ErrorInfo with the errMessage constant.
<Session identifier>: Integer Identifier of MATLAB session. This identifier is returned by mlInitialize.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|