Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.5.0 - English

Change language to:
Français - 日本語 - Português - Русский

Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function

Scilab Help >> Windows tools > mcisendstring

mcisendstring

sends a command string to an MCI device (Windows only)

Calling Sequence

mcisendstring(mcistring)
bOK=mcisendstring(mcistring)
[bOK,CodeError]=mcisendstring(mcistring)
[bOK,CodeError,StringError]=mcisendstring(mcistring)

Arguments

mcistring

a command string to send to an MCI device

bOK

returns %T or %F

CodeError

returns error code (0 --> if bOK == %T)

StringError

returns MCI interpreter message ('OK' --> if bOK == %T)

Description

The mciSendString primitive sends a command string to an MCI device. The device that the command is sent to is specified in the command string.

see on http://msdn.microsoft.com/library/default.asp and search "Windows Multimedia SDK open"

Examples

mcisendstring("open ""d:\audio.mp3"" type MPEGVideo alias MP3_Device") 
mcisendstring("play MP3_Device") 
mcisendstring("close MP3_Device") 

mcisendstring("open ""d:\video.avi"" type avivideo alias AVI_Device") 
mcisendstring("play AVI_Device from 0") 
mcisendstring("close AVI_Device")
Report an issue
<< istssession Windows tools powershell >>

Copyright (c) 2022-2024 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Fri Apr 11 14:07:05 CEST 2014