PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | French EN
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
mlExecute (Function)
In french: mlExecute
Evaluates and runs a command on a MATLAB session.
Versions 24 and later
Windows This function is now available for WEBDEV sites in Windows.
New in version 24
Windows This function is now available for WEBDEV sites in Windows.
Windows This function is now available for WEBDEV sites in Windows.
Example
IF gnSessionID = -1 THEN
ToastDisplay("MATLAB not initialized")
RETURN
END

sStringToRun is string = [
a = [ 1 2 3; 2 3 4; 1 2 5]
b = [ 2 1 3 ; 5 0 -2; 2 3 -1]
prod = a * b
]

let sResult = mlExecute(gnSessionID, sStringToRun)

EDT_Result = sResult
Syntax
<Result> = mlExecute(<Session identifier> , <Command>)
<Result>: Character string
Content of standard output returned by the command execution.
<Session identifier>: Integer
Identifier of MATLAB session. This identifier is returned by mlInitialize.
<Command>: Character string (with quotes)
MATLAB command to run.
Component : wd260com.dll
Minimum version required
  • Version 20
This page is also available for…
Comments
Click [Add] to post a comment