Real time audio processing
Hello all, I am starting work on a project to perform some audio processing (echo cancellation via adaptive filtering). I'd like to try using Simulink but it needs to run in real-time. The idea is: Audio source 1 -> Audio source 2 -> Adaptive cancellation filter <- Audio out It looks like the data ... 11 Feb 2010 20:43
Calling Matlab engine from C++
"Deborah " <dmarg(a)comcast.net> wrote in message <hflrum$rp5$1(a)fred.mathworks.com>... I want to write a C++ program on Linux/Eclipse that uses the matlab engine routines. As a starting point I'm trying to compile and run the engdemo.cpp example. It compiles without errors but I get a linker error - cannot find -lli... 11 Feb 2010 19:36
libeng.lib win64
I am having problems linking to the libeng.lib library. I have done this successfully on a 32-bit machine with both VS and eclipse, but there is a problem when the libeng.lib file is in the matlabroot/extern/lib/win64/microsoft directory (My VS is installed in the Program Files (x86) directory). I am getting the LNK201... 12 Feb 2010 03:18
printing Matlab Models with subsystem to PDF in commandline
Hello all, I'm creating a matlab script file that prints out a Simulink model (.MDL) in a directory to PDF files. Currently I got it to the point that the script will print out the currently opened model, however, it does NOT print out any of its subsystems. I would like the model's subsystem to be printed under... 17 Feb 2010 02:14
simulink memory problem
Hello everybody, how can i bypass the problem of memory allocation error on simulink? I'm using a memory block which is connected a sum port with. I just want to get the result from this "progressive sum block" on my workspace. It can deletes at every iteration the information gathered unless the information in the... 11 Feb 2010 18:28
efficient matrix generation
Hello, I would like to generate an NxN matrix with the following structure (for N=6) E = [0 1 2 3 4 5; 0 0 6 7 8 9; 0 0 0 10 11 12; 0 0 0 0 13 14; 0 0 0 0 0 15; 0 0 0 0 0 0]; Is there a way to do this without for loops?... 12 Feb 2010 05:28
Is there an "about equal" function?
Hi, Context: I'm trying to find the resting membrane potential (voltage) of a cell where: gNa*(V-VNa) == - gK*(V-VK); is true, gNa, VNa, gK, and VK are parameters. I simplified the problem to: % gM, gL, VM, VL are defined. V = linspace(-100,-30,7000); % Voltage for search = 1:length(V) Value1 = gM*(... 12 Feb 2010 01:08
For loop for creating a data structure
Hello everyone, I have a small question which I need some help with. I have 200 images and I have taken some measurements from each image. I want to create a for loop which will put those measurements into a data structure. Here's my for loop: for I=1:200 Z{i}= []; for i = 1:I for k = 1:numberOfBlobs ... 11 Feb 2010 18:28
execute a matlab script from a web page
Hello, I would like to have the ability to execute a matlab script that creates a figure by only clicking on a link on a web page. I currently can open up a matlab figure by clicking on a link. <a href "\home\\...\test.fig">open matlab figure</a> Does anyone know how to execute a script that will create a ... 11 Feb 2010 18:28
FFT/iFFT time shift problem - Again
"John " <jwu0823(a)hotmail.com> wrote in message <gli8kk$ltk$1(a)fred.mathworks.com>... I got it! The biggest mistake I made was that I made f fixed and mixed up with the sampling frequency. Thanks for all the help, especially to Greg. I'm trying to get the same thing working and am having problems too. clear ... 17 Feb 2010 12:13