First  |  Prev |  Next  |  Last
Pages: 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791
argument of type "double" is incompatible with parameter of type "mxArray **"
Hi : I'm trying to call imread with mexCallMATLAB but I always get the same error that can be ? . error: argument of type "double" is incompatible with parameter of type "mxArray **" The code is this <code> double imag; mxArray *str = mxCreateString("letras.tif"); mexCallMATLAB(1, &str, 1,imag, "imrea... 13 May 2010 05:02
sum without transposing
Hi Everyone, Ssuppose I have a matrix A as follows: A = 1 1 2 2 3 3 Now I wish to sum horzontally, to obtain B B = 2 4 6 How can I do this without needing to transpose A. Is it possible? Regards, Ulrik. ... 4 May 2010 07:53
THE SAME PROBLEM
The same Runtime error , I also work on windows 7 Now I reached the following path C:\MATLAB7\sys\java\jre\win32 It contain : -jre1.4.2 -jre6 -jre.cfg when I tried to rename( jre1.4.2) message appeares say it's opened by another program . I opened task manager to end it's process but anyhow I didn't found i... 4 May 2010 07:53
trisurf matlab
Dear friends, I need to overlay two surface generated with the matlab's command trisurf. In particular, i have a 3d rendering of a brain in a figure and a set of points in the other figure.These points are registered with the brain surface and i want to visualize them on the brain rendering(in their exact positions).... 9 May 2010 02:29
Mex compiles but fails in execution
Hi all, I had to create a MEX file from C code, using external libraries, and also installing Microsoft VC++ compiler. I have succeeded compiling the MEX file, after linking all the libraries, solving problems with DLLs and this stuff. The MEX file is hence created. When I call the MEX file, Matlab claims it ... 5 May 2010 18:15
ode with boundaries
hi, i want to force my ode45 solver to search for a solution (good enough time step) only within certain boundaries imposed on one (out of tenths) of the differentiated parameters. is there a nice way of doing it? by 'nice' i mean not letting the solver to try values of the parameter outside the range (and throwing th... 4 May 2010 07:53
ODE system and derivative.
Hi everybody, I'm using Matlab solvers to solve an ODE system. I'm wondering if there is a way to get as output not only the solution of the system, but also how the derivative defining the system change with time. I mean I'd like to know also the values for dydt as evaluated by the solver, is there any option ... 4 May 2010 12:19
How to sort a 2-d matrix
Hi everyone I'd like to know if there is any instruction in matlab to sort a matrix like this example: X =[ 0.506 0.258 0.478 201 203 202] x_sorted = [0.258 0.478 0.506 203 202 201] What I am looking for is to sort the first row in ascend way and moving the value on the... 4 May 2010 08:58
batch mode
Hi all, I am running matlab in batch mode under linux via ssh (without X11 forwarding). The call statement is something like this: matlab -nojvm <myscript.m> myout.txt & This works fine and I am able to check the progress of my simulations by checking the txt file. The problem is that the script could have funct... 4 May 2010 14:33
header in matrix
Hey, I'm exporting a matrix with dlmwrite to txt. Now I'm trying to set a header on top of it.. something like the example here: text = [average, std, cv, min, max] data=[ 10, 5, 3, 1, 10; 10, 5, 3, 1, 10; 10, 5, 3, 1, 10; 10, 5, 3, 1, 10;] the output should look like: ... 4 May 2010 12:19
First  |  Prev |  Next  |  Last
Pages: 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791