ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Communication / Functions for accessing MATLAB
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
mlInitialize (Function)
In french: mlInitialise
Initializes a new independent MATLAB session with an empty workspace in order to run functions. During this initialization, the shell of MATLAB is displayed during a few seconds.
Note: This function requires MATLAB version 7.3 or higher.
Example
gnIdSession is int
gnIdSession = mlInitialize()

IF gnIdSession = -1 THEN
	Error(ErrorInfo(errFullDetails))
ELSE
	LIB_SessionML = "MATLAB initialisé"
END
Syntax
<Result> = mlInitialize()
<Result>: Integer
  • Identifier of MATLAB session. This identifier will be used by the functions for MATLAB management.
  • -1 if an error occurred. To get more details on the error, use ErrorInfo with the errMessage constant.
Component: wd300com.dll
Minimum version required
  • Version 20
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/28/2025

Send a report | Local help