PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
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
Loads all the variables of a MATLAB file in the session. The workspace of the MatLab session is initialized by loading all the file variables (file in Mat-File format whose extension is.MAT).
Versions 24 and later
WEBDEV - Server codeWindows This function is now available for the WEBDEV sites in Windows.
New in version 24
WEBDEV - Server codeWindows This function is now available for the WEBDEV sites in Windows.
WEBDEV - Server codeWindows This function is now available for the WEBDEV sites in Windows.
Example
nSessionID is int = mlInitialize()
IF ErrorOccurred THEN
ErrorInfo(errFullDetails)
RETURN
END
mlLoadWorkspace(nSessionID, "C:\temp\workspace.mat")
sVarList is string = mlListVariable(nSessionID)
mlEnd(nSessionID)
Syntax
<Result> = mlLoadWorkspace(<Session identifier> , <File name> , <Variables stored>)
<Result>: Boolean
  • True if the load operation was successful.
  • False otherwise. The ErrorOccurred variable is set to True if an error occurred. To find out the error details, use ErrorInfo associated with the errMessage constant.
<Session identifier>: Integer
Identifier of MATLAB session. This identifier is returned by mlInitialize.
<File name>: Character string (with quotes)
Path and name of the Mat-File file to use.
<Variables stored>: Boolean
  • True to store the existing variables. The existing variable is stored except if it is redefined in the file. In this case, the variable of the session is overwritten.
  • False not to store them (default value). The variables found in the session are deleted before the load operation.
Component : wd250com.dll
Minimum version required
  • Version 20
This page is also available for…
Comments
Click [Add] to post a comment