f



Mex MATLAB issue

I have a simple mex application to compute the fft. I am using 2010b MATLABb, but when i try to compile mex -I/usr/local/include -L/usr/local/lib fftwm.c. I get the following error:
Undefined symbols:
  "_fftw_free_hook", referenced from:
      _install_fftw_hooks in fftwm.o
  "_fftw_destroy_plan", referenced from:
      _destroy_fftw_mex_data in fftwm.o
      _destroy_fftw_mex_data in fftwm.o
  "_fftw_malloc_hook", referenced from:
      _install_fftw_hooks in fftwm.o
  "_fftw_forget_wisdom", referenced from:
      _fftw_mex_exit_function in fftwm.o
  "_fftwnd_destroy_plan", referenced from:
      _destroy_fftw_mex_data in fftwm.o
      _destroy_fftw_mex_data in fftwm.o
  "_fftw_create_plan", referenced from:
      _initialize_fftw_mex_data in fftwm.o
      _initialize_fftw_mex_data in fftwm.o
  "_fftw", referenced from:
      _mexFunction in fftwm.o
      _mexFunction in fftwm.o
     (maybe you meant: _install_fftw_hooks, _destroy_fftw_mex_data , _fftw_mex_free_hook , _fftw_mex_exit_function , _fftw_mex_malloc_hook , _initialize_fftw_mex_data , _compute_fftw_mex_flops , _fftw_mex_flops )
  "_fftw_free", referenced from:
      _destroy_fftw_mex_data in fftwm.o
      _destroy_fftw_mex_data in fftwm.o
  "_fftwnd_create_plan", referenced from:
      _initialize_fftw_mex_data in fftwm.o
      _initialize_fftw_mex_data in fftwm.o
  "_fftwnd", referenced from:
      _mexFunction in fftwm.o
      _mexFunction in fftwm.o
  "_fftw_malloc", referenced from:
      _initialize_fftw_mex_data in fftwm.o
      _initialize_fftw_mex_data in fftwm.o
      _initialize_fftw_mex_data in fftwm.o
  "_mexAddFlops", referenced from:
      _mexFunction in fftwm.o
      _mexFunction in fftwm.o
ld: symbol(s) not found
collect2: ld returned 1 exit status

    mex: link of ' "fftwm.mexmaci64"' failed.

??? Error using ==> mex at 208
Unable to complete successfully.

Any suggestions would be greatly appreciated.

 
0
the_rome (48)
5/7/2012 1:56:06 PM
comp.soft-sys.matlab 211266 articles. 24 followers. lunamoonmoon (257) is leader. Post Follow

3 Replies
639 Views

Similar Articles

[PageSpeed] 30

"Jerome " <the_rome@hotmail.com> wrote in message <jo8k9m$fcb$1@newscl01ah.mathworks.com>...
> I have a simple mex application to compute the fft. I am using 2010b MATLABb, but when i try to compile mex -I/usr/local/include -L/usr/local/lib fftwm.c. I get the following error:
> Undefined symbols:
>   "_fftw_free_hook", referenced from:
>       _install_fftw_hooks in fftwm.o

(snip)

> collect2: ld returned 1 exit status
> 
>     mex: link of ' "fftwm.mexmaci64"' failed.
> 
> ??? Error using ==> mex at 208
> Unable to complete successfully.

It is not linking in the library that contains the functions. What is the name of the library file and where exactly is it located? You need to specify this library file on the mex command line. The -L option tells it *where* to look for library files, but it doesn't appear to me that you have actually told it the name of the library file on the mex command line.

James Tursa
0
5/7/2012 3:02:08 PM
Thanks! Do you know what file I should be linking too?


"James Tursa" wrote in message <jo8o5g$4lc$1@newscl01ah.mathworks.com>...
> "Jerome " <the_rome@hotmail.com> wrote in message <jo8k9m$fcb$1@newscl01ah.mathworks.com>...
> > I have a simple mex application to compute the fft. I am using 2010b MATLABb, but when i try to compile mex -I/usr/local/include -L/usr/local/lib fftwm.c. I get the following error:
> > Undefined symbols:
> >   "_fftw_free_hook", referenced from:
> >       _install_fftw_hooks in fftwm.o
> 
> (snip)
> 
> > collect2: ld returned 1 exit status
> > 
> >     mex: link of ' "fftwm.mexmaci64"' failed.
> > 
> > ??? Error using ==> mex at 208
> > Unable to complete successfully.
> 
> It is not linking in the library that contains the functions. What is the name of the library file and where exactly is it located? You need to specify this library file on the mex command line. The -L option tells it *where* to look for library files, but it doesn't appear to me that you have actually told it the name of the library file on the mex command line.
> 
> James Tursa
0
the_rome (48)
5/7/2012 5:54:08 PM
"Jerome " <the_rome@hotmail.com> wrote in message <jo9280$l66$1@newscl01ah.mathworks.com>...
> Thanks! Do you know what file I should be linking too?

No. I would look in the /usr/local/lib directory and look for library files. E.g., files ending in .a are static libraries, ending in .so are dynamic shared libraries. I am not familiar with your code, but assuming you are doing a static link I would try the .a files.

James Tursa
0
5/7/2012 6:12:07 PM
Reply:

Similar Artilces:

Why can't Fortran-mex files be compiled on matlab V5.3 and run on matlab V6?
Hi, does anyone know why Fortran-mex files can't be compiled on matlab V5.3 and run on matlab V6? For example: if I compile the example-program (shipped with matlab) timestwo.f on matlab version 5.3 (R11) and try to run it on matlab version 6+ (R12 or R13), I get the error message: "Unable to load mex file: E:\timestwo.dll. The specified module could not be found. ??? Invalid MEX-file" Likewise if I compile it on matlab version 6.1 (R12), I get a similar error message if run on matlab version 5.3 (R11). However, if I run it on matlab version 6.5 it works OK. If I try the same experiment with the corresponding example file written in C, timestwo.c, I get no such problems. Why is that? Per A. Hi Per, usually MEX-files need to be compiled with the MATLAB version you want it later to run with. The reason is, that the code links against the current dynamic libraries (DLLs), which may change from version to version. You may have luck that it works (see your example of timestwo.f), but you should never rely on this. Titus "Per A. Brodtkorb" <Per.Brodtkorb@ffi.no> wrote in message news:eecb303.-1@webx.raydaftYaTP... > Hi, > > does anyone know why Fortran-mex files can't be compiled on matlab > V5.3 and run on matlab V6? > > For example: if I compile the example-program (shipped with matlab) > timestwo.f > on matlab version 5.3 (R11) and try to run > it on matlab version 6+ (R12 or R13), I ...

Matlab parallel for loop or Matlab open pool
I am trying to to some computations and I would like to do it in parallel using parfor or by Opening the matlabpool.. as the current implementations is too slow: result=zeros(25,16000); for i = 1:length(vector1) % length is 25 for j = 1:length(vector2) % length is 16000 temp1 = vector1(i); temp2 = vector2(j); t1 = load(matfiles1(temp1).name) %load image1 from matfile1 t2 = load(matfiles2(temp2).name) % load image2 from matfile2 result(i,j)=t1.*t2 end end It work fine but I would really like to know if there is a way to speed thing up ... Thanks a lot in advance! ...

Contribute to MATLAB Central and Win a MATLAB Jacket
Many of you who post to this newsgroup are also regular contributors to the MATLAB Central File Exchange. Look for your favorite contributors on our File Exchange Author Profile page. You can read their profiles and see pictures: <http://www.mathworks.com/matlabcentral/reports/fileexchange/allProfiles/> In a random drawing, we recently awarded MATLAB jackets to three File Exchange authors with profile pages: Michele Giugliano, Andrey Egin, and Denis Gilbert. You can win a jacket, too. Just submit a new file to the File Exchange or update your author profile by December 2003 for a chance to win one of four MATLAB jackets. See the jacket below: <http://www.mathworks.com/matlabcentral/images/jeff3.jpg> Here are some interesting File Exchange facts: - Since its inception in 2001, visitors have downloaded more than 1.25 million submissions from the File Exchange. - In September 2003 alone, visitors downloaded 80,085 files, an average of 2670 a day! .... what if the prize was a free copy of the next version of Matlab :-) majb Min Poh wrote: ....or an offer for employment... aj "bourassa" <bourassa-m@rmc.ca> wrote in message news:3f9d507d$1@rmcnt03a.rmc.ca... > ... what if the prize was a free copy of the next version of Matlab :-) > > majb > > Min Poh wrote: > ...

Call Matlab m-file from Matlab Scrip Node
My problem with matlab script node is related to calling function in matlab.&nbsp; I created an m-file function that takes an imput temperature (from DAQ) and defines a material property.&nbsp; My matlab script node doesn't seem to recognize my function.&nbsp; I have placed the function in the folder the vi is currently located, but it doesn't read it.&nbsp; How do I get matlab script node to read the functions I create in matlab? Add the directory to matlab path, or call the .m file with it full name ( D:\..... \myfile.m) Let me clarify, &nbsp; I have pasted my matlab code into the matlab scrip node. &nbsp; In this code, I have called a subfunction that I have created. &nbsp; Example k(n)=k_c(T(n)) where k_c is a subfunction I have created. &nbsp; How do I get my code in the node&nbsp;to sucessfully read the subfunction k_c? &nbsp; &nbsp; &nbsp; As indicated, you need to add the directory where the .m file containing the function resides to the list of paths that are read in. This is your startup.m file. The other option is to do a "cd" command prior to calling your function to change to the directory where the .m file containing the function resides. Thanks for reiterating the information.&nbsp; My matlab script node is working properly.&nbsp; I had never used the "cd" command in matlab.&nbsp; I always set the working directory when I open the program, and put all the m files into t...

Need help for a matlab mini project
Hello everyone, I have a matlab in class exercise due in few days. I am new to matlab and the instructions provided with the assignment is minimal. Can Someone help me with the basic understanding as in how can I map the problem's solution to matlab script ? I am not able to post question here as it is a jpeg file. Please let me know and then we can discuss further. ...

MATLAB FFTW MEX CRASH
I'm trying to compile FFTW library functions into a mex C++ file. I managed to compile the file successfully. "mex filename.cpp -I/path/to/include -L/path/to/lib -lm -lfftw3 -output test" But when I run from MATLAB cmd window, MATLAB will crash with segmentation fault. Anyone has any suggestions, thanks the code is very simple as follows: #include "mex.h" #include "stdlib.h" #include "stdio.h" #include "fftw3.h" /* $Revision: 1.8.6.3 $ */ void timestwo(double y[], double x[]) { y[0] = 2.0*x[0]; } void test_fftw() { int N=8; double *in, *in2; fftw_complex *out; fftw_plan p, p_rev; in = (double*)fftw_malloc(sizeof(double)*N); in2 =(double*) fftw_malloc(sizeof(double) * N); out = (fftw_complex*)fftw_malloc(sizeof(fftw_complex) * N); fftw_free(in); fftw_free(in2); fftw_free(out); } void mexFunction( int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[] ) { double *x,*y; mwSize mrows,ncols; /* Check for proper number of arguments. */ if(nrhs!=1) { mexErrMsgTxt("One input required."); } else if(nlhs>1) { mexErrMsgTxt("Too many output arguments."); } /* The input must be a noncomplex scalar double.*/ mrows = mxGetM(prhs[0]); ncols = mxGetN(prhs[0]); if( !mxIsDouble(prhs[0]) || mxIsComplex(prhs[0]) || !(mrows==1 && nco...

Matlab GUI Loop Issue
I have code running that calls a GUI I made ... the GUI allows me to manipulate variables within the mcode and display sonar images I am getting from a sonar which is connected. Here is my problem: I have two while loops going which one monitors a push button to start and stop recording images to a file. The other is just a quit button. The inner loop is the start/stop loop and the outer is quit. pseudo code below ... while QUIT == 0 while STOP == 0 RECORD DATA CHECK STOP VARIABLE end CHECK STOP VARIABLE CHECK QUIT VARIABLE end The RECORD DATA section is actually a fairly long amount of code but outside the inner loop it is literally just two functions (get()). It seems like when it gets in the outer loop it no longer allows the GUI to respond. It's like it is running so fast in the outer loop that it never allows the GUI to get any processing time (and therefore is no longer responsive to my button selections). If I run it with a breakpoint at one of the check variable lines in the outer loop it runs fine since it keeps stopping at the breakpoint. I've shown my code works correctly with the breakpoints but when running real time the GUI becomes unresponsive once I select stop recording and it drops out to the outer loop. Does anyone have a suggestion for this? I thought maybe adding a wait or delay may help the situation but I am not sure how to do it or if it will ...

bar
In MatLab 6.5, the routine above works normal: figure; sem=Average(:,2)./sqrt(Average(:,3)); bar([1:1:7],Average(:,1),sem); ylabel('% of epochs analyzed') xlabel('Frequency Band') title ('Occurrence of Oscillatory Events - Ch X') %Where Average and sem are vectors; But, in MatLab 7.0, the same code cause the following error: ??? Error using ==> xychk Too many input arguments. Error in ==> bar at 53 [msg,x,y] = xychk(args{1:nargs},'plot'); Error in ==> cross_subj_analysis>ok_Callback at 327 bar([1:1:7],Average(:,1),sem); I'd like to know why this occour. Thanks Henrique In article <g7a1j6$l1$1@fred.mathworks.com>, Henrique Amaral <henriquetomaz@uol.com.br> wrote: >In MatLab 6.5, the routine above works normal: >figure; >sem=Average(:,2)./sqrt(Average(:,3)); >bar([1:1:7],Average(:,1),sem); >ylabel('% of epochs analyzed') >xlabel('Frequency Band') >title ('Occurrence of Oscillatory Events - Ch X') >%Where Average and sem are vectors; >But, in MatLab 7.0, the same code cause the following error: >??? Error using ==> xychk >Too many input arguments. >Error in ==> bar at 53 > [msg,x,y] = xychk(args{1:nargs},'plot'); >Error in ==> cross_subj_analysis>ok_Callback at 327 >bar([1:1:7],Average(:,1),sem); >I'd like to know why this occour. When the third argument is numeric, it must be the bar width. barwidth must b...

Matlab GUIDE stability issue
Has others seen this problem? I am using Matlab 2010a, on windows. I am making a GUI using GUIDE. I noticed that after about 20 minutes or so of making many changes to the GUI, i.e. moving things around, resizing, etc..., then GUIDE would start becoming slow in response and very shortly after that Matlab and GUIDE would freeze, and I see the CPU running max for Matlab, and see messages likes these on the console: I have to terminate the session, kill Matlab, and I end up losing any changes made to GUI before the last saving. I make sure I save the GUI every 10 seconds now. But GUIDE seems to be not a robust software. --Nasser ------------------------------------------------- Exception occurred during event dispatching: java.lang.OutOfMemoryError: Java heap space at java.awt.image.DataBufferInt.<init>(Unknown Source) at java.awt.image.Raster.createPackedRaster(Unknown Source) at java.awt.image.DirectColorModel.createCompatibleWritableRaster(Unknown Source) at sun.awt.image.SunVolatileImage.getBackupImage(Unknown Source) at sun.awt.image.VolatileSurfaceManager.getBackupSurface(Unknown Source) at sun.awt.image.VolatileSurfaceManager.initialize(Unknown Source) at sun.awt.image.SunVolatileImage.<init>(Unknown Source) at sun.awt.image.SunVolatileImage.<init>(Unknown Source) at sun.awt.image.SunVolatileImage.<init>(Unknown Source) at sun.awt.image.SunVolatileImage.<init>(Unknown Source) at sun.awt.windows.WCo...

Matlab builder JA: parse java string to matlab cell
Hi all, I'm building a java swing based GUI for my Matlab application. As such, user input is available as text strings, for example "{[0; 0], [3.5 0; 0 2]}" (mean vector and covariance matrix of a 2D Gaussian). The user input will be passed to the compiled matlab method as a MWCellArray. Problem is how do a convert (parse) the above string into a MWCellArray? From its javadoc http://www.mathworks.com/access/helpdesk/help/toolbox/javabuilder/MWArrayAPI/index.html the following method is available: java.lang.String toString() Returns a string representation of this array, but the reverse method is not. Evidently, parsing a string like the one above is a non trivial task and I'm loath to attempt writing one by myself. I would be very thankful if someone can point me to the required parser implementation. Matlab itself is carrying out this task all the time, perhaps it is possible to access Matlab's own parser. Help much appreciated, Ritesh ...

Mex file crashes Matlab
Hello all, I created successfully a mex file. It is linked to an external dll and it worked fine (it returns correctly to matlab a vector). Recently I added an new function inside my c++ file which does not affect the result of the c++ function but is just used to improve some data manipulation. By the way, this function works quite well in a simple c++ file and I have already used many times in other c++ files (no-mex files). After added this function my matlab crashes and returns me this error: MATLAB crash file:C:\DOCUME~1\MILCEMEA~1.VAA\LOCALS~1\Temp\matlab_crash_dump.2996 ------------------------------------------------------------------------ Segmentation violation detected at Wed Jul 28 18:38:04 2010 ------------------------------------------------------------------------ Operating System: Microsoft Windows XP Window System: Version 5.1 (Build 2600: Service Pack 3) Processor ID: x86 Family 6 Model 7 Stepping 10, GenuineIntel Virtual Machine: Java 1.6.0_04-b12 with Sun Microsystems Inc. Java HotSpot(TM) Client VM mixed mode Default Encoding: windows-1252 Fault Count: 1 Register State: EAX = ffff5df8 EBX = 00c2e01c ECX = ffffffff EDX = e06d7363 ESI = ffff5df4 EDI = 04f169ec EBP = 00c2e028 ESP = 00c2cf40 EIP = 04ec186e FLG = 00010286 Stack Trace: [0] qlDiscountFactors.mexw32:0x04ec186e(0x00c2e158 "x£", 0x00c2e0b8, 0x00c2e1fc, 0) [1] 0x00c2e20c(0x8b00032b, 0x04c483d8, 0x85e85d89,...

can't run matlab setup/No puedo correr matlab
Hi! I opened the&nbsp;matlab script fractal.vi&nbsp;then my antivirus (Kaspersky)&nbsp;ask&nbsp;if I acept the modified te registry of matlab setup,&nbsp; I &nbsp;say "yes" After that when I want open matlab the setup run but inmediatly it's close, why???? &nbsp; Hola: Abri el matlab script fractal.vi y mi antivirus (Kasoersky)me preguntaba si aceptaba una modificacion del registro del setup de matlab yo acepte Despues de eso cuanto abro matlab se cierra inmediatamente porque?? &nbsp; &nbsp; &nbsp; Hola Sa�l Es probable que el problema est� relacionado con el antivirus Kaspersky, trata de deshabilitarlo y correr nuevamente el ejemplo.&nbsp; Si esto no funciona revisa el estado de tus licencias de LabVIEW y de Matlab, probablemente tengas que reinstalar el programa y/o activar las licencias. �Qu� versi�n de LabVIEW y Matlab tienes? �El comportamiento es el mismo con el otro ejemplo?, me refiero al de la siguiente dir: labview\examples\scriptnode\Differential Equation.llb\MATLAB Script - Lorenz Diff Eq.vi Si corres este ejemplo �El antivirus tambi�n te pregunta cambiar lo de los registros?, ser�a bueno contactar a Mathworks para saber c�mo reconfigurar nuevamente los registros de Matlab ...

some problems of codes of MATLAB 7.0 working on MATLAB 6.5
I have used MATLAB for few hours.So I don't know the differences between version 6.5 and 7.0.I want to use some codes of MATLAB 7.0, but they doesn't work in MATLAB 6.5.How to change these codes so that they can work in matlab 6.5.Waiting for your help. Thank you . The codes are like this .I think changing the function findPI may work ,but I don'y know how % PIfun.m % Evaluate a function used to find the PI-line, using Kyle Champley's % method. % % Adam Wunderlich % last update: 5/18/06 function y = PIfun(r,R,h,gamma,x3,sb) temp = R - r*cos(gamma-sb); y = h*((pi - 2*atan(r*sin(gamma-sb)/temp))*(1 + (r^2 - R^2)/ (2*R*temp)) ... + sb) - x3; % find_PI_Line.m % % Find the the parametric interval corresponding to the unique PI-line % passing through the point x for a given helical pitch. % This code implements the method of Kyle Champley. % inputs: P = pitch (cm/turn), R = helix radius, delta_s = s stepsize, x % output: PI = [sb st] % % Adam Wunderlich % last update: 5/18/06 function [PI] = findPI(P,R,delta_s,x) h = P/(2*pi); r = sqrt(x(1)^2+x(2)^2); gamma = atan2(x(2),x(1)); options = optimset('TolX',h*delta_s/100,'FunValCheck','on'); [sb,fval,exitflag] = fzero(@(sb) PIfun(r,R,h,gamma,x(3),sb),... [(x(3)-h*pi)/h,x(3)/h],options); if exitflag ~=1, disp('Error: PI invalid'); end % note that beta=sb in Kyle's formula alphaX = atan(r*sin(gamma-sb)/(R - r*cos(gamma-sb))); st = sb + pi -...

Incompatible of MAT file for Matlab 6.5.1 and Matlab 7.0
Hi! I have recently installed Matlab 7.0. I have save my simulation results in .MAT file. However, these MAT files can't be opened using Matlab 6.5.1. I encountered problem as follows: ??? Error using ==> load Unable to read MAT file D:\MATLAB7\work\results.mat File may be corrupt. How can I solve this problem? Thanks. Linda Please see here: <http://tx.technion.ac.il/~perryb/matlab7/mat7.pdf> In short, save again as: The new features and enhancements are described in the "Release notes" of Matlab. A new feature that causes incompatibility with previous versions of Matlab is the new encoding of MAT files. Matlab release 14 writes character and figure data to MAT-files using Unicode encoding by default. Unicode encoded MAT-files are not readable by earlier versions of Matlab. If you intend to load your MAT-files created with Matlab release 14, you must override the Unicode default during the save. You can override the default encoding by using the -v6 switch with save and hgsave: save filename -v6 hgsave filename -v6 Hope it helps Linda wrote: > > > Hi! > > I have recently installed Matlab 7.0. > I have save my simulation results in .MAT file. > However, these MAT files can't be opened using Matlab 6.5.1. > > I encountered problem as follows: > > ??? Error using ==> load > Unable to read MAT file D:\MATLAB7\work\results.mat > > File ma...

matlab.desktop.editor.getAll ordering issue
Hi everyone, new features of MATLAB R2011a Editor API allows one to get all opened documents with this method: matlab.desktop.editor.getAll however the files are returned in order they were edited, but not in order they appear in the document bar. Is it possible to get list of opened documents in order they appear in the editor? Thank you, Vladimir ...

MATLAB, Perl, Bioperl installation issues and communication
How do I get MATLAB to recognize a new version of perl and not run with the old version shipped with the install? Alternatively, How do I force bioperl to recognize the version of perl shipped with MATLAB (or vice versa really)? Many thanks. ...

Recent soft computing papers and MATLAB Toolboxes
Dear Colleagues, I would like to call your kind attention to the updated website of the Soft Computing Research Group at the University of Veszprem (Hungary) http://www.fmt.vein.hu/softcomp/ You can download MATLAB Toolboxes: - Fuzzy Clustering MATLAB Toolbox - Genetic Programming MATLAB Toolbox - Interactive Evolutionary Strategy (EASy) MATLAB Toolbox - Constrained Fuzzy Model Identification for the FMID Toolbox independent MATLAB programs related to: - Data mining * Fuzzy clustering based time-series segmentation * Supervised Fuzzy Clustering for the Identification of Fuzzy Classifiers * Fuzzy Modeling with Multidimensional Membership Functions: Grey-Box Identification and Control Design * Compact TS-Fuzzy Models through Clustering and OLS plus FIS Model Reduction * Inconsistency Analysis of Labeled Data * Star plots - MATLAB files for Graphical Representation of trace elements of clinkers - Process control and monitoring * Feedback Linearizing Control Using Hybrid Neural Networks Identified by Sensitivity Approach * Incorporating Prior Knowledge in Cubic Spline Approximation - Application to the Identification of Reaction Kinetic Models * Identification and Control of Nonlinear Systems Using Fuzzy Hammerstein Models - A Simple Fuzzy Classifier based on manuscripts in PDF about - fuzzy model based process control and monitoring - fuzzy clustering and classification - incorporation of a priori knowledge in the identif...

issue in runiing matlab commands in zsh shell
Hi, While running matlab 2008 in zsh shell, I found that some commands (ls, copyfile) are reporting following type of errors. Error using ==> ls at 36 which corresponds to 'MATLAB:ls:OSError' which is equivalent to matlab failing to execute unix command. Similar error is produced whenever matlab command (ex. copyfile) invokes unix built in command (lex. cp -rf). I do not see this issue with matlab 2006 and matlab 2011. Please let me know why does it happen for matlab 2008. Regards Supriyo "Supriyo " <supriyomj@gmail.com> wrote in message news:jr4q8e$hc9$1@newscl01ah.mathworks.com... > Hi, > > While running matlab 2008 in zsh shell, I found that some commands (ls, > copyfile) are reporting following type of errors. > Error using ==> ls at 36 which corresponds to 'MATLAB:ls:OSError' which is > equivalent to matlab failing to execute unix command. > > Similar error is produced whenever matlab command (ex. copyfile) invokes > unix built in command (lex. cp -rf). > I do not see this issue with matlab 2006 and matlab 2011. Please let me > know why does it happen for matlab 2008. What does the second output argument of this call say? [status, result] = system('ls') -- Steve Lord slord@mathworks.com To contact Technical Support use the Contact Us link on http://www.mathworks.com "Steven_Lord" <slord@mathworks.com> wrote in mess...

Recent soft computing papers and MATLAB Toolboxes
Dear Colleagues, I would like to call your kind attention to the updated website of the Soft Computing Research Group at the University of Veszprem (Hungary) http://www.fmt.vein.hu/softcomp/ You can download MATLAB Toolboxes: - Fuzzy Clustering MATLAB Toolbox - Genetic Programming MATLAB Toolbox - Interactive Evolutionary Strategy (EASy) MATLAB Toolbox - Constrained Fuzzy Model Identification for the FMID Toolbox independent MATLAB programs related to: - Data mining * Fuzzy clustering based time-series segmentation * Supervised Fuzzy Clustering for the Identification of Fuzzy Classifiers * Fuzzy Modeling with Multidimensional Membership Functions: Grey-Box Identification and Control Design * Compact TS-Fuzzy Models through Clustering and OLS plus FIS Model Reduction * Inconsistency Analysis of Labeled Data * Star plots - MATLAB files for Graphical Representation of trace elements of clinkers - Process control and monitoring * Feedback Linearizing Control Using Hybrid Neural Networks Identified by Sensitivity Approach * Incorporating Prior Knowledge in Cubic Spline Approximation - Application to the Identification of Reaction Kinetic Models * Identification and Control of Nonlinear Systems Using Fuzzy Hammerstein Models - A Simple Fuzzy Classifier based on manuscripts in PDF about - fuzzy model based process control and monitoring - fuzzy clustering and classification - incorpor...

How to release a matrix created in matlab inside mex file.
Dear all. I play around huge matrices with data and when I pass one of them to a mex file, I want to be able to release memory associated with it from inside the mex file. Is this possible? For instance, when I do something like this, it violates memory when called from matlab. Cheers, Pete void mexFunction(int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[]) { if (nrhs!=1) { mexPrintf(" - insufficient argument list!\n"); return; } mxArray* xVar=(mxArray*)prhs[0]; mxDestroyArray(xVar); return; } ...

4D data display bug issue (?) in Matlab 2006a
Hello Group, When you load 4D data, say of the form data(row,col,slice,time) and then display a particular voxel time series say : >>data(2,14,10,:) (note slice # 10) Then Matlab displays >>data(2,14,1,:), PLEASE NOTE : Instead of 10, it shows 1. Could anyone please tell me if they note this. Thanks Jim ...

Shall i use the misrosoft Visual c++ code from a m-file generated from matlab in Visual C++ with out matlab runtime environment
undefined ...

soft decoding of conv. codes using vitdec matlab func. #2
Hello, Isnt 'unquant' and 'soft' options essentially same?..in both case vitdec takes in "real numbers" as input (ok they are "mapped" in case o 'soft' option)..so can we not use 'unquant' option to carry out sof decoding?...my preliminary results show that 'unquant' option give me 2- db gain over hard decoding... any one having insight please let me know. thanks >Hello, > Isnt 'unquant' and 'soft' options essentially same?..in both cases >vitdec takes in "real numbers" as input (ok they are "mapped" in case of >'soft' option)..so can we not use 'unquant' option to carry out soft >decoding?...my preliminary results show that 'unquant' option give m 2-3 >db gain over hard decoding... >any one having insight please let me know. >thanks > > %%% Yes , u can use 'unquant' as soft decoding. try to implement for k=3 i.e [5 7] and BPSK and at roughly 4 dB u should get BER of 10^-3. Chintan ...

How to Fix " SIT compatability Issues With Matlab 7.1 (ex slbuild)"
Hello , &nbsp; &nbsp; Simulation Interface Toolkit 2.0 works fine with Matlab6.5(Real Time Workshop). &nbsp; In Matlab7.0.4. and 7.1.0 Some of the RTW functions(slbuild) has been changed. This creats error (Error using (slbuild, rtw_c))when try to use SIT 2.0 with Matlab 7.1. &nbsp; Is there any service pack for SIT 2.0 Or Is there any other way to fix this bug. &nbsp; Thanks in advance &nbsp; Regards &nbsp; Syed &nbsp; Hi syedGayaz, you will find the necessary information <a href="http://digital.ni.com/public.nsf/websearch/ed4ce7f179993bd086256e9100827ba0" target="_blank">here.</a> Hope it helps Regards Indiana ...

Web resources about - Mex MATLAB issue - comp.soft-sys.matlab

Undocumented Matlab
Undocumented, unsupported and hidden features in Matlab

Matlab Upazila - Wikipedia, the free encyclopedia
... 23°21′N 90°42.5′E  /  23.35°N 90.7083°E  / 23.35; 90.7083 Coordinates : 23°21′N 90°42.5′E  /  23.35°N 90.7083°E  / 23.35; 90.7083 Matlab ...

Open Directory - Science: Math: Software: MATLAB
The MathWorks - Developers of MATLAB, Simulink and Stateflow. Offers products for data analysis, visualization, application development, simulation, ...

MATLAB Mobile on the App Store
Read reviews, compare customer ratings, see screenshots, and learn more about MATLAB Mobile. Download MATLAB Mobile and enjoy it on your iPhone, ...

The Smart Emergency Response System Using MATLAB and Simulink - YouTube
In the aftermath of an earthquake, every second counts for disaster victims. Imagine a system that can locate people quickly and help first responders ...

The A-Z of Programming Languages: MATLAB
What prompted the development of MATLAB?

Matlab: Invalid .NET Framework. Either the specified framework was not found or is not currently supported ...
If you are trying to compile Matlab into .Net framework, you might encounter this message, even though you have the .Net framework installed ...

Matlab edges closer to electronic design automation world
Matlab, one of the world's most widely used products for algorithmic development, has long occupied its own niche far removed from EDA and hardware ...

Can I/How do I use DMTCP with a parallel pool of MATLAB workers? · Issue #223 · dmtcp/dmtcp · GitHub
dmtcp - DMTCP: Distributed MultiThreaded CheckPointing matlab -nodisplay -r "parpool('local',4); parfor i=1:10, pause(1); fprintf('%i ',i); end; ...

Using MATLAB and SDR to Reverse Engineer 433MHz Messages
... so he focused on studying the methodology and the tools available for analyzing 433MHz RF transmission. He describes the process of using MATLAB ...

Resources last updated: 3/30/2016 12:31:02 PM