View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
VOIP From One Simulink Session to Another

Join the 15-year community celebration.

Play games and win prizes!

» Learn more

4.0 | 3 ratings Rate this file 6 Downloads (last 30 days) File Size: 76.1 KB File ID: #18348 Version:

VOIP From One Simulink Session to Another



17 Jan 2008 (Updated )

Use the Signal Processing Blockset to enable voice communications between different workstations.

| Watch this File

File Information

Use your Simulink as a telephone to talk with your buddies! This demo allows for full duplex voice communications between Simulink sessions running on different machines. It is a variation of of a shipping demo in the Signal Processing Blockset. The encoder and decoder are the same, but m-file s-functions using the Java interface from MATLAB are included to allow for communications across the internet using the UDP protocol.
The demo is initially configured to communicate with localhost - loopback mode. After you run it, make a test sound. You should hear the sound back out of your speaker shortly thereafter.
The delay will likely be noticeable. You will also have to be careful about the placement of the microphone and speakers you use to avoid audio feedback. If the demo works on your machine, then you can get someone else to run it also, change 'localhost' to appropriate IP addresses on each end, and then talk to each other between Simulink sessions.

The original version of this submission (dspilbc_mic_duplex.mdl) works for releases R2007b thru R2008b. For releases R2009a and later, use dspilbc_mic_duplex_9a.mdl and the associated block library dspilbclib_9a.mdl.

Required Products DSP System Toolbox
Signal Processing Toolbox
MATLAB release MATLAB 7.5 (R2007b)
Other requirements - Java - A machine with audio input and output capabilities, including a microphone and speakers.
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (5)
16 May 2012 Jeka

Jeka (view profile)

22 Sep 2011 Pankil Patel

how to connect java?/??

Comment only
22 Sep 2011 Pankil Patel

please explain how it works

19 Oct 2008 cp lin  
03 Feb 2008 husam alouni

thanks but it does not work with vesta

Comment only
15 May 2009 1.3

Added a new version that works for R2009a and later. Updated comments accordingly.

15 May 2009 1.4

Added missing file dspilbc_mic_duplex.mdl.

17 Dec 2009 1.5

Added copyright statements to all files.

01 Sep 2016

Updated license

Contact us