ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Communication / Functions for accessing MATLAB
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
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.
Remark: This function requires MATLAB version 7.3 or later.
Example
gnSessionID is int
gnSessionID = mlInitialize()
 
IF gnSessionID = -1 THEN
Error(ErrorInfo(errFullDetails))
ELSE
STC_MLSession = "MATLAB initialized"
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 the details of the error, use ErrorInfo with the errMessage constant.
Component: wd290com.dll
Minimum version required
  • Version 20
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help