About Site Map Submit Contact Us Log in | Create an account
Create an account Log In
Average Rating
User Rating:
Visitors Rating:
My rating:

Write review
See full specifications

scripts default iconAudio Spectrum Analyzer (Scripts) Publisher's description

The MATLAB Function block can be used to stream live data into a Simulink model

The MATLAB Function block can be used to stream live data into a Simulink model. This can be useful to validate models with real data under different test conditions for example.

This example uses the Data Acquisition Toolbox to process audio data from the Windows soundcard. (It's actually just a modified version of dspstfft_win32.mdl, a demo that ships with the Signal Processing Blockset.)

You could just as easily use the same approach to interface your models to other support plug-in data acquisition hardware, not to mention a variety of other data sources.

* You could interface Simulink to scientific instruments like an oscilloscope, network analyzer, power meter, or waveform generator using the Instrument Control Toolbox.

* Your models could process live video and image data from cameras and frame grabbers supported by the Image Acquisition Toolbox.

* You could hook your model up to Oracle or another ODBC or JDBC compliant database using the Database Toolbox.

* Your Simulink models can take advantage of MATLAB's Generic DLL calling capability.

Just about anything you can do in MATLAB, you can use the MATLAB Function block to do from Simulink.

Hopefully this example helps get you started. For more advanced capabilities, refer to the Simulink documentation regarding S-functions, particularly M-file S-functions. They are more sophisticated and use a particular API which provides a lot of power and functionality.

Happy modeling and simulating with live data!

System Requirements:

MATLAB 7 (R14)
Program Release Status: New Release
Program Install Support: Install and Uninstall

Audio Spectrum Analyzer (Scripts) Tags:

Click on a tag to find related softwares

Is Audio Spectrum Analyzer (Scripts) your software?

Manage your software

Most Popular

scripts default icon ASK, OOK, FSK, BPSK, QPSK, 8PSK modulation 1.1
ASK, OOK, FSK, BPSK, QPSK, 8PSK modulation contain several functions for digital modulation simulation
scripts default icon Simulink Communication Labs 1.1
Simulink Communication Labs allows you to learn communication systems in greater depth.
scripts default icon M-QAM modulation and demodulation 1.1
M-QAM modulation and demodulation is the QAM modulation and demodulation tech.
scripts default icon LZW Compression/Decompression 1.1
LZW Compression/Decompression - Updated LZW compressor and decompressor with reasonable performance
scripts default icon InSPIRE utility to plot a 2D displacement field (Scripts) 1.0
This program plots the deformation field (displace vectors) contained in vector.txt.