PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
This content has been translated automatically. Click here to view the French version.
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
mlResetWorkSpace (Function)
In french: mlRAZEspaceDeTravail
Deletes all the variables from the MATLAB session.
Versions 24 and later
WEBDEV - Server codeWindows This function is now available for WEBDEV sites in Windows.
New in version 24
WEBDEV - Server codeWindows This function is now available for WEBDEV sites in Windows.
WEBDEV - Server codeWindows This function is now available for WEBDEV sites in Windows.
Example
aResult is array of 1 by 1 real = [[123]]
 
mlResetWorkspace(gnSessionID)
aResult = mlGetVariable(gnSessionID, "myRoot")
IF ErrorOccurred THEN
Trace("Error: " + ErrorInfo())
END
 
Trace("Root = " + aResult[1,1])
Syntax
<Result> = mlResetWorkspace(<Session identifier>)
<Result>: Boolean
  • True if the work space is reinitialized,
  • False otherwise. The ErrorOccurred variable is set to True if an error occurred. To find out the name of the error, use the function ErrorInfo with the constant errMessage.
<Session identifier>: Integer
Identifier of MATLAB session. This identifier is returned by mlInitialize.
Component : wd260com.dll
Minimum version required
  • Version 20
This page is also available for…
Comments
Click [Add] to post a comment