AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Funciones WLanguage / Comunicación / Funciones para acceder a 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
mlExecute (Function)
In french: mlExecute
Evaluates and runs a command on a MATLAB session.
Example
IF gnSessionID = -1 THEN
ToastDisplay("MATLAB not initialized")
RETURN
END
 
sStringToRun is string = [
À = [ 1 2 3; 2 3 4; 1 2 5]
b = [ 2 1 3 ; 5 0 -2; 2 3 -1]
prod = À * 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
MATLAB command to run.
Component: wd290com.dll
Versión mínima requerida
  • Versión 20
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 26/05/2022

Señalar un error o enviar una sugerencia | Ayuda local