Technical discussion about Matlab and issues related to Digital Signal Processing.
Search Results for "mex"
Post a new Thread
yuemuping - Jan 2 2008
Hi, Everyone~ Happy New Year~~~
I have a weird question.
I've wrote several c mex s-functions in simulink. When I ran
the mdl file with one c mex s-function per a model, i... 
anujack_21 - Jun 23 2004
Hi all,
How do I convert .m file to .mex file (dll files or executables in
matlab)? As far I understand the .mex files are written in C. But I
am not very comf... 
donomy_00 - Feb 28 2002
Hi
I have compiled a C code in Matlab using the function MEX Filename.c
I have got the .dll file but when I tried to use the function, it
gave an error mess... 
jihong1974 - May 28 2003
hi,
I'm using matlay 6.5 windows version.
I have a C file which plots some dots on screen. When I try to
convert it to mex file with the method introdued in matla... 
Sergio Dominguez - Dec 20 2002
Hi all!
I am having problems compiling a c mex file with the lines that have comments
of the type
// comment
If they are written like
/*comment*/ ... 
Joel Ilao - Nov 28 2001
Hi!
I would like to know how to create mex-files from C
code. I have tried to compile one using MinGW but is
unsuccessful in doing so. Can someone help me with... 
Giovanni Marino - Jun 3 2005
Hi,
I have a problems with matlab.
I have a Gui and I would "translate" it in C/C++. I tried to use mex
but I have this error message from linker:
"prova_hello.obj
LI... 
Sergio Dominguez - Feb 20 2003
Hi all!
I am sending this as it looks like it is not only me. has anyone figured out
how to solve the comments problem with compiling s-functions with mex in lin... 
Bing Jian - Feb 14 2003
Hi, there,
Assume I have a mexmain.c which contains
mexFunction(), in mexFunction(), I call another
function e.g. test() defined in another c file
e.g. te... 
rsvas2001 - Nov 6 2004
Hello group,
I got an Simulink s-function block from somebody, including
source,header files, object files, dlls. when i tried to run this
model in my ma... 
raju_zm - Jul 24 2007
hai to all.I have ascii c-program.how i get c-mex s-function from
that c-code.so that i can use it as simulink block.
i tried 'mcc'command to convert .m file to me... 
Nitin Nangare - May 9 2003
Does anyone has any technical documents abt. creating C++ mex files ? Thanks in
Advance.Nitin.
... 
invictus_4_ever - Mar 25 2003
hi,
when trying to compile a mex , matlab is giving an error stating
the some required files are not found in the path. The @INC variable
shows some wrong path. h... 
Drabot, Slawek - Jul 25 2001
Hi,
I'm trying to compile Fortran mex files on Solaris (2.6) using g77 (gnu
Fortran 77 compiler). It compiles and links without producing errors,
however Matla... 
decious99 - Aug 29 2004
I am working on creating a MEX file that will read data out of a
ASCII text file and place its contents into a structure. Anyone
have an idea how to create a struct... 
spottie3 - Oct 9 2003
Hi,
I am running 1000's of simulations that call linprog in MATLAB. I
have found that much of the computing time is spent in linprog. I
have tried streamlining... 
andey - May 10 2003
Dear All:
I am trying to call Mex function under Matlab. I used the mexFunction
without arguments, i.e. nlhs = 0 and nrhs=0. All my data are read or
written in... 
andey - Apr 4 2003
I tested a simple C++ Mex file which is:
#include
#include
void timestwo(double y[], double x[])
{
ofstream File;
File.... 
pitcz_03 - Sep 9 2003
Hi,
I would like to choose the compiler for mex-file.
But when I wrote command:
mex -setup
I got message: "Select a compiler:" and I had just one option:
[1] ... 
lee_xmen - Oct 20 2004
Hi ,
If i've written a C-Mex S function ,can i embed it on a TI DSP
target??,,or its possible to embed only inbuilt simulink blocksets on
a TI DSP target... 
ramineni_bsp - Jun 2 2003
hello friends,
I am trying to Use OpenCV library in matlab .I worked on mex files and I know
its
possible to interface c files in matlab.Now I want to know is ... 
- Jul 9 2001
Mex-Files are used to include C-files or Fortran-files into Matlab.
A nutshell will be placed around your original code, which makes Matlab to
access the data st... 
- Dec 17 2003
Hello Kailash
Suppose that I have the C routine bellow. This routine
calculate the factorial of n. Suppose that you dont want
translate this routine for ... 
chri...@gmail.com - Jun 1 2006
>
>
>
> Hello :),
>
> I did some mex programming and some digital image
> processing implementation for my final year project.
> Attached is the report... 
Zahra A Shah - Jul 4 2006
hi,
i am trying to use a free toolbox which implements Support vector machines in MATLAB. Now i have to use this toolbox and cannot use some other toolbox due to some constraint... 
dshareall - Jul 17 2003
Hi.
I have developed a device driver (as an s function block) to
commuincate with a PCI board and in the RTWT(real time windows
target) enviroment. My driver work... 
Peter Gulden - Feb 28 2001
At 23:19 27.02.01 +0530, OJAS GANDHI wrote:
Hello,
I'm Ojas Gandhi B.E-Electronics from REC-Surat, India.In my final
year project I've developed a small appl... 
andey - Apr 2 2003
Dear all:
I want to call my Borland C++ program from Matlab. Actively My C++
program is a huge project file which includes a lot of class
definitions and calls... 
Joe Sababa - Jul 14 2001
Hi,
On mathworks web-site there is a mex (.dll) files for
read and write MPEG. As mex files are versions
dependent it may not work on MATLAB.
Joe
http://www... 
lee_xmen - Oct 16 2004
Hi ,
I'm working on C-MEX files ,using S-Function Builder ....
A very basic problem,.
I have two input arrays u0[5] and u1[3] and the output is y0[5],... 
ganesan - Feb 5 2001
hello all,
i want to interface a fortran program with my other matlab
programs. i installed digital visual fortran v6.5. i have matlab v5.3
on windows NT. i set t... 
Jeff Winter - Jan 16 2002
You can call your own C or Fortran subroutines from MATLAB as if they were
built-in
functions. MATLAB callable C and Fortran programs are referred to as
MEX-files... 
Amit Shaw - Jun 29 2007
Try using
mex -setup
at the Matlab command prompt in unix/linux and see whether Matlab gives
the option to select the gcc compiler. If yes select gcc as the
compiler. and th... 
Nihal Ahmad - Jul 12 2002
Hi all,
I have one problem in C-MEX S-Function, which is as follows
In my c-program I have one function named try_info(&bs, &fr_ps), which
I want to call in md... 
Amit Pathania - Mar 20 2006
You can use mex files. Refer to the matlab API documentation
raja_793 wrote: Hello
I want to know that how I can use the C++ code in Matlab.
Can anyone answer this..
Tha... 
umar khan - Nov 23 2006
hi,
does any one know how to convert an m file to dll? I have already tried the mcc command. It generates a dll but when I run it matlab complains that it found no mex funct... 
decious99 - Feb 9 2005
write a mex function to do the operation in C. You can also use
profile command, and see where your code is bogging down. Chances
are the princomp.m file ha... 
Akif CEYLAN - May 25 2005
Hi,
When i try to show some frames from test file with aviread command i
have 'Segmentation violation' error and i didn't solve the problem.
can any one help ?
thank... 
jaber elhadad - May 17 2002
Hi all,
I used a Fortran mexfiles to calculate one output matrix, I have real input
and real output, but inside the program I have some complex calculus,
su... 
madhu_lsu - Apr 10 2004
May be there is some mex/similar code available that uses vectorized
implementation of fft/ifft, which I am unaware of. However, this is
what I recently tried and d... 