f



Error version MATLAB

Dear friends,

    I have made a m-file to solve an ODE with boundary conditions by bvp4c function. However, I can not run it on my MATLAB version (R2008a), besides it runs very well on MATLAB version of my colleague. The errors that appears on my version are:

??? Error using ==> times
Matrix dimensions must agree.

Error in ==> odenumjac at 121
  del = (s - (~s)) .* abs(del);         % keep del pointing into region

Error in ==> bvp4c>BCnumjac at 966
[dBCdya,ignored,ignored1,nbc] = odenumjac(@bcaux,bcArgs,bcVal,dBCoptions);

Error in ==> bvp4c>colloc_Jac at 671
    [dGdya,dGdyb,nbc] = BCnumjac(bc,ya,yb,n,npar,nExtraArgs,ExtraArgs);

Error in ==> bvp4c at 187
      [dPHIdy,NF,NBC] = colloc_Jac(n,x,Y,yp,Fmid,ode,bc,Fjac,BCjac,npar,...

Error in ==> nelsonreatorteste at 8
sol = bvp4c(@fun,@cc,solini);

  How can I run this m-file in my MATLAB version?

    Thank you for any informations,

      Sincerely,

   Isaías
0
ibaso2 (1)
9/1/2011 1:09:28 PM
comp.soft-sys.matlab 211266 articles. 25 followers. lunamoonmoon (257) is leader. Post Follow

2 Replies
1007 Views

Similar Articles

[PageSpeed] 55

"Isaías Soares" <ibaso2@yahoo.com.br> wrote in message <j3o068$4mo$1@newscl01ah.mathworks.com>...
> Dear friends,
> 
>     I have made a m-file to solve an ODE with boundary conditions by bvp4c function. However, I can not run it on my MATLAB version (R2008a), besides it runs very well on MATLAB version of my colleague. The errors that appears on my version are:
> 
> ??? Error using ==> times
> Matrix dimensions must agree.
> 
> Error in ==> odenumjac at 121
>   del = (s - (~s)) .* abs(del);         % keep del pointing into region
> 
> Error in ==> bvp4c>BCnumjac at 966
> [dBCdya,ignored,ignored1,nbc] = odenumjac(@bcaux,bcArgs,bcVal,dBCoptions);
> 
> Error in ==> bvp4c>colloc_Jac at 671
>     [dGdya,dGdyb,nbc] = BCnumjac(bc,ya,yb,n,npar,nExtraArgs,ExtraArgs);
> 
> Error in ==> bvp4c at 187
>       [dPHIdy,NF,NBC] = colloc_Jac(n,x,Y,yp,Fmid,ode,bc,Fjac,BCjac,npar,...
> 
> Error in ==> nelsonreatorteste at 8
> sol = bvp4c(@fun,@cc,solini);
> 
>   How can I run this m-file in my MATLAB version?
> 
>     Thank you for any informations,
> 
>       Sincerely,
> 
>    Isaías



Hi, I'm facing the same problem...were you able to correct this error? If yes, how? Please help me! Thanks!

Siddharth
0
10/9/2011 2:40:28 AM

"SiddharthK " <siddharthk123123@rediffmail.com> wrote in message 
news:j6r1is$hms$1@newscl01ah.mathworks.com...
> "Isaías Soares" <ibaso2@yahoo.com.br> wrote in message 
> <j3o068$4mo$1@newscl01ah.mathworks.com>...
>> Dear friends,
>>
>>     I have made a m-file to solve an ODE with boundary conditions by 
>> bvp4c function. However, I can not run it on my MATLAB version (R2008a), 
>> besides it runs very well on MATLAB version of my colleague. The errors 
>> that appears on my version are:
>>
>> ??? Error using ==> times
>> Matrix dimensions must agree.

*snip*

> Hi, I'm facing the same problem...were you able to correct this error? If 
> yes, how? Please help me! Thanks!

Make sure that the functions you pass into BVP4C return column vectors of 
the appropriate size as the documentation indicates is required.

http://www.mathworks.com/help/techdoc/ref/bvp4c.html

-- 
Steve Lord
slord@mathworks.com
To contact Technical Support use the Contact Us link on 
http://www.mathworks.com 

0
slord (13689)
10/10/2011 3:47:11 AM
Reply:

Similar Artilces:

Matlab engine with matlab R2010b
Hello All, I'm working with an aplication that use the matlab engine. I made the C++ program and it is working well in my pc with matlab 2007b, but the same very basic program shows an error when I tried to compile it in a pc with matlab R2010b. The error is about the icuuc32.dll. ¿Why is asking this DLL? How can I solve this?. Thanks¡ ...

error in matlab
hi all any one help me with tis matlab error due to less memory. any solution for tis. am usin MATLAB (R2008a). Unexpected error status flag encountered. Resetting to proper state. thanks kirthi "kiruthiga " <kirthi.chandrasekar@gmail.com> wrote in message news:ii5jtf$hv3$1@fred.mathworks.com... > hi all any one help me with tis matlab error due to less memory. any > solution for tis. am usin MATLAB (R2008a). > Unexpected error status flag encountered. Resetting to proper state. I think you're more likely to receive some constructive suggestions if you post to the newsgroup some code with which you can reproduce this problem. -- Steve Lord slord@mathworks.com To contact Technical Support use the Contact Us link on http://www.mathworks.com ...

error on matlab
When I run this code windows...it runs, but never gets to steady state. however, when I run this mac I get this following error. please help ??? In an assignment A(:) = B, the number of elements in A and B must be the same. Error in ==> sym.rdivide at 33 X(k) = mupadfeval('_divide',A(k),B(k)); Error in ==> sym.mrdivide at 24 X = rdivide(B,A); Error in ==> lab6_changed_code at 28 dm1=volc + (Mco2_initial-Mco2s) - W_rate*(Mco2/Mco2s)^0.3- (ocean_t*(Mco2-Mco2s)*Mbuf/Mbufs); % for co2 content in atmosphere Here's my code W_rate=1e13; % mol C per year % D_rate=0; % deposition rate mol C per year Mbufs=1.4e17; % buffer capacity carbonate ion in the ocean % mol C per year Mco2s=5.04e16; % Co2 in the atmosphere ocean_t=.001; % ocean mixing time volc=1e13; Mco2_initial=8.33e16; % instantaneous input of carbon Mbuf_initial = Mbufs; Initial_set = [Mco2_initial Mbuf_initial]; syms Mco2 Mbuf D_rate_variable variable = [Mco2,Mbuf]; variable_2 = [Mco2,Mbuf,D_rate_variable]; % at steady state Mco2=Mco2s dm1=volc + (Mco2_initial-Mco2s) - W_rate*(Mco2/Mco2s)^0.3- (ocean_t*(Mco2-Mco2s)*Mbuf/Mbufs); % for co2 content in atmosphere % sat_state=Mbuf/Mbufs; % saturation state of the ocean % for ocean buffer capacity % if sat_state==0 % caco3 dissolves in the ocean and releases carbonate ion increasing buffer capacity % D_rate=-1e13; % end %...

Matlab 7 AMD error, Yes I changed the BLAS VERSION! #4
I installed Matlab 7 on my AMD Sepron 3500+ laptop, i initially had the following problem: When I double click on the Matlab icon,Matlab window opens and on the lower left hand corner "initializing' appears but as soon as this word is gone the window closes and matlab is shutdown. I read through the discussions and changed my BLAS VERSION to c:/ MATLAB7\bin\win32\atlas_Athlon.dll, I located the atlas_Athlon.dll file in my win32 folder to confirm it's there, so Matlab now opens but if i enter guide or try to open an M-file i have errors such as: >> guide ??? Undefined function or variable 'isappdata'. Error in ==> guide at 39 if isappdata(0,'MathWorks_GUIDE_testmode') and when i try to open a M-file i get this error: ??? Function 'eq' is not defined for values of class 'cell'. i have not come across this in any forum or the matlab support website, any help would be much appreciated!, kind regards. ...

error in matlab code
sir, i have written the following code to genrate .coe file.the code is clear all N = 65; B = 16; % bits w = hamming(N);-<-------- error shows. Error in ==> hamming at 4 w = hamming(N); winscaled = round(w.*(2^(B-2)/max(w))); filename = 'window_coeff.coe'; fid = fopen(filename,'wt'); fprintf(fid,'memory_initialization_radix=16;\n'); fprintf(fid,'memory_initialization_vector=\n'); for i=1:N fprintf(fid,'%d,\n', w(i)); end fprintf(fid,'%d;\n', w(N)); fclose(fid); but i get error which is mentioned above. plz help me. "debalina ghosh" wrote in message <j5skgq$al2$1@newscl01ah.mathworks.com>... > sir, > > i have written the following code to genrate .coe file.the code is > clear all > N = 65; > B = 16; % bits > w = hamming(N);-<-------- error shows. Error in ==> hamming at 4 > w = hamming(N); > winscaled = round(w.*(2^(B-2)/max(w))); > filename = 'window_coeff.coe'; > fid = fopen(filename,'wt'); > fprintf(fid,'memory_initialization_radix=16;\n'); > fprintf(fid,'memory_initialization_vector=\n'); > for i=1:N > fprintf(fid,'%d,\n', w(i)); > end > fprintf(fid,'%d;\n', w(N)); > fclose(fid); > but i get error which is mentioned above. plz help me. Hi, if you are getting an er...

numel error in matlab
hi, im trying to write a program in matlab but i have some problems. there is some parts of my program. i hope you can help me. -------------------------------------------------------------------------- cd=xlsread('data.xlsx', 1, 'C3'); va=xlsread('veri.xlsx', 3, 'B3:B198'); d= xlsread('veri.xlsx', 3, 'C3:C198'); .... and other datas for i=1:1:198 wl(i,1)=0.5*ro*cd*a*(v(i,1)/3.6)^2; .... w(i,1)=wl(i,1)+wr(i,1)+wb(i,1)+ws(i,1); Ne(i,1)=w(i,1)*(va(i,1)/3.6)/(mv*1000); .... n(i,1)=(va(i,1)/3.6)*60*ik(i,1)*ie/(2*pi*rd); if n(i,1)>4500 g(i,1)=g(i,1)+1; end Nex=xlsread('data.xlsx', 4, 'C2:M2'); nx=xlsread('data.xlsx', 4, 'B3:B11'); bex=xlsread('data.xlsx', 4, 'C3:M11'); be(i,1)=interp2(Nex,nx,bex,Ne(i,1),n(i,1)); -------------------------------------------------------------------------- my first problem is; ??? Attempted to access n(2,1); index out of bounds because numel(n)=1. Error in ==> tye at 82 if n(i,1)>4500 when i delete that line there is another same problem ; ??? Attempted to access n(2,1); index out of bounds because numel(n)=1. Error in ==> tye at 87 be(i,1)=interp2(Nex,nx,bex,Ne(i,1),n(i,1)); what is my fault. please enlighten me. thank you very much. ...

Error in MATLAB #5
I keep getting errors from the folowing >> k = 0:10 e = exp(1) s = sum(1/factorial(k.)) k = Columns 1 through 10 0 1 2 3 4 5 6 7 8 9 Column 11 10 e = 2.7183 ??? s = sum(1/factorial(k.)) | Error: Unbalanced or unexpected parenthesis or bracket. On 9/15/2011 10:35 AM, Mike wrote: > I keep getting errors from the folowing >>> k = 0:10 > e = exp(1) > s = sum(1/factorial(k.)) .... > > ??? s = sum(1/factorial(k.)) > | > Error: Unbalanced or unexpected parenthesis or bracket. Well, yeah, what's the "." supposed to be doing here? A side point is the expression probably isn't what you're looking for anyway, but that's another issue... -- Mike: Get rid of the dot after the k and put it before the slash: k = 0:10 e = exp(1) yourarray = 1./factorial(k) % Just to print it out to see what is being summed. s = sum(1./factorial(k)) ...

Matlab errors #4
hello everyone I'm new here and I was wandering if you could help me with this program... My code: function o = convertSingletoOctal(bs) F2=zeros(1,23); e2=zeros(1,8); for i=10:32 F2(i-9)=bs(i); end for i=2:9 e2(i-1)=bs(i); end [E8,F8,e8]=Convert2to8Exp(F2,e2);%Calling the function Convert2to8Exp t=bs(1); if t == 1 o=disp(['o = - ', num2str(E8),'.',num2str(F8),' * 8^',num2str(e8)]); elseif t == 0 o=disp(['o = + ', num2str(E8),'.',num2str(F8),' * 8^',num2str(e8)]); end end Convert2to8Exp function= function [E8,F8,e8]=Convert2to8Exp(F2,e2) [E,F,e]= ShiftBinary(F2,e2);%Calling the function %Converting the integral part r=e2-e; if(r==0) E=[0 0 E]; elseif(r==1) E=[0 E]; end E8=(E(1)*2^2)+(E(2)*2)+E(3); %Converting the fractional part k =length(F); re=rem(k,3); if(re==1) F=[F 0 0]; elseif(re==2) F=[F 0]; end k1 = length(F); o = k1/3;%number of octal triplets F8=zeros(1,8); for i=1:o F8(i)=F(3*i-2)*2^2+F(3*i-1)*2+F(3*i); end %Computing the exponent e8=e/3; end Shift Binary function: function [E , F, e] = ShiftBinary(F2, e2) q = floor (e2/3); r = rem (e2,3); if (r==1) E= [1 F2(1)]; F= F2(2:(length(F2))); elseif (r==2) E= [1 F2(1) F2(2)]; F= F2(3:(length(F2))); elseif (r==0) E= 1; F= F2(1:length(F2)); end e = 3 * q; end The error: Error in ==> ShiftBinary at 7 ...

Detect matlab version
Is there a variable I can query to discover the version of matlab I am using while running a file. The old code for imhist does not work with the new imhist code (the new code is much better) I would like to have a statement saying IF (MATLAB < 2007) use this ELSE use imhist END Does this exist? thank you Erik wrote: > Is there a variable I can query to discover the version of matlab I am using while running a file. AllVers = ver; ThisVer = AllVers(strcmp({AllVers.Name},'MATLAB')); You can then either look at ThisVer.Release(2:end-1) to get out 'R2007a' (for example), or at ThisVer.Version to get out '7.4' (for example) "Erik " <Idont@wantSpam.co> wrote in message news:gd35ou$l1m$1@fred.mathworks.com... > Is there a variable I can query to discover the version of matlab I am > using while running a file. > > The old code for imhist does not work with the new imhist code (the new > code is much better) I would like to have a statement saying > > IF (MATLAB < 2007) > use this > ELSE > use imhist > END > > > Does this exist? Use VER, VERSION, and/or VERLESSTHAN: http://www.mathworks.com/access/helpdesk/help/techdoc/ref/ver.html http://www.mathworks.com/access/helpdesk/help/techdoc/ref/version.html http://www.mathworks.com/access/helpdesk/help/techdoc/ref/verlessthan.html As the Remarks section of the VERLESSTHAN reference page indicates, if your version of MATLAB doesn&#...

Matlab Script Errors
I've recently had an unwanted update from 6.0 to 6.1 performed on my comput= er. It was unwanted because I knew there would be conflicts with written s= oftware and the updated version of labview. I've reinstalled 6.0 and am tr= ying to get back to where I was originally. The first thing I noticed was = that matlab no longer loaded when I ran a Labview program containing a scri= pt file. The following web site has a solution:<br><br>http://digital.ni.co= m/public.nsf/websearch/4475BC3CEB062C9586256D750058F14B?OpenDocument<br><br= >There are some interesting bugs here that ALL should know about.<br><br>La= bview no longer supports the MatLab construct:<br><br>If (variable) = % This ends the script<br> XXXX<br>end<br><br>It must now be written:<b= r><br>if (variable > 0) % This WORKS!!<br> XXXX<br>end<br><br>Furtherm= ore Labview no longer supports the passing of real variables into matlab sc= ripts. Even though the option is still there they are<br>passed as complex= and cannot be used as an index to an array until they are cast as real.<br= ><br>Dmb =3D Arry_X(input_i); % This ends the script<br><br>input_i =3D = real(input_i);<br>Dmb =3D Arry_X(input_i); % This Works<br><br>I still = have not got my system back up and running so if others know of more bugs I= 'd like a heads up.&...

matlab errors #3
function Zbr = impedance(nbus) at dis statement im getting an error as 'Function definitions are not permitted at the prompt or in scripts.' i don knw wat to do "Nishitha " <sonic_200500@yahoo.co.in> wrote in message <jjtc6c$lea$1@newscl01ah.mathworks.com>... > function Zbr = impedance(nbus) > at dis statement im getting an error as 'Function definitions are not permitted at the prompt or in scripts.' > i don knw wat to do Start the MATLAB Editor : File -> New -> M-File Type your function in there and save it (as impedance.m by default). Then from the command line type something like: a = impedance(b) where a & b are numbers or variables (defined in the command window) that you want to use for Zbr & nbus. "someone" wrote in message <jjtjo5$hse$1@newscl01ah.mathworks.com>... > "Nishitha " <sonic_200500@yahoo.co.in> wrote in message <jjtc6c$lea$1@newscl01ah.mathworks.com>... > > function Zbr = impedance(nbus) > > at dis statement im getting an error as 'Function definitions are not permitted at the prompt or in scripts.' > > i don knw wat to do > > Start the MATLAB Editor : > > File -> New -> M-File > > Type your function in there and save it (as impedance.m by default). > > Then from the command line type something like: > > a = impedance(b) > > where a & b are numbers or variables (defi...

Error in maple with matlab
Hi all, I am getting following error while executing the below line using matlab maple('m:=',m_char(j,:)); ??? Error using ==> maple at 178 Error using ==> maplemex `:` unexpected I am using matlab R2010a-windows 64bit and maple 15-windows 64bit and my OS windows7 please suggest some idea to resolve this problem...Thanks in advance... Kindly help us.... even I m also getting the same error..... Very thanks in advance.....please please please On 14.11.11 12:10, Nanthini wrote: > Hi all, > I am getting following error while executing the below line using matlab > > maple('m:=',m_char(j,:)); I'm just guessing, but maybe maple(['m:=',m_char(j,:)]); works better for you? Christopher ...

Why does Matlab do this
What is happening when I type rand(1:10) at the command line? Matlab goes into a 10 minute spin - what's going on? Thanks "Robert" wrote in message <j64asi$5v4$1@newscl01ah.mathworks.com>... > What is happening when I type > rand(1:10) > at the command line? > > Matlab goes into a 10 minute spin - what's going on? > Thanks Hi Robert, You're create a 10-D array with that syntax. Do you just want a vector of 10 uniformly distributed random numbers. x = rand(10,1); % or x = rand(1,10); Wayne Hi Wayne, You're right - that's what I was trying to do... but I was just newbie mucking about trying to work out the syntax and I typed that in - then had a looong wait for Matlab to work through it! Thanks for the explanation. Robert "Robert" wrote in message <j64d2h$dvo$1@newscl01ah.mathworks.com>... > Hi Wayne, > You're right - that's what I was trying to do... but I was just newbie mucking about trying to work out the syntax and I typed that in - then had a looong wait for Matlab to work through it! > Thanks for the explanation. > Robert That's fine. Welcome to MATLAB!!! If that's the worst memory-intensive mistake you ever make, you'll be fine :) I've done much, much worse. Wayne ...

Error in matlab #6
i was simulating the ofdm transmitter coding in matlab. i got error in line "Filter". the error write below with some line of coding.......so please suggest me how to remove error. Undefined function or method 'filter' for input arguments of type 'uint8.... SignalIn = abs(SignalIn);%Envelope detect the signal %a=length(SignalIn)-4 %================================== % Subsample to find approx start location %=================================== index = 1:quickrate:length(SignalIn); SubSignal = SignalIn(index); %Subsample the signal SubFilt = filter(ones(1,round(FrameGap/quickrate)),1,SubSignal); "Anupam dubey" <anuapmdubey2687@gmail.com> wrote in message news:j5n9d8$2ls$1@newscl01ah.mathworks.com... > > i was simulating the ofdm transmitter coding in matlab. i got error in > line "Filter". > the error write below with some line of coding.......so please suggest me > how to remove error. > > Undefined function or method 'filter' for input arguments of type > 'uint8.... *snip* The FILTER function is not defined for inputs of type uint8. Determine which inputs are uint8 and convert them to DOUBLE or SINGLE. -- Steve Lord slord@mathworks.com To contact Technical Support use the Contact Us link on http://www.mathworks.com ...

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: > ...

Matlab startup error
Respected Members.... I have the Matlab R2010a version and had been working on the same for many years ..... but now as and when i try opening the Software i get the following errors and also when i try opening a new script the software crashes and gets closed... Help would be highly appreciated ... Exception in thread "Thread-38" java.lang.NoClassDefFoundError: org/netbeans/editor/FindSupport at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at com.mathworks.mde.desk.StartupClassLoader.callClassForName(StartupClassLoader.java:316) at com.mathworks.mde.desk.StartupClassLoader.loadClass(StartupClassLoader.java:294) at com.mathworks.mde.desk.StartupClassLoader.access$900(StartupClassLoader.java:27) at com.mathworks.mde.desk.StartupClassLoader$LoadThread.run(StartupClassLoader.java:283) Caused by: java.lang.ClassNotFoundException: org.netbeans.editor.FindSupport at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClassInternal(Unknown Source) ... 6 more Caused by: java.util.zip.ZipException: ZIP_Read: error reading zip file at java.util.zip.ZipFile.read(Native Method) at java.util.zip.ZipFile.access...

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! ...

Discrepancy in MATLAB versions
Hi , I am profiling code in two different versions of MATLAB (2009a and 2012a). The machine 2012a is installed is newer than the machine with 2009a, and thus, a better CPU. However, when I execute the following: A=magic(10000) A.*A I received two different timing results, the 2009a results (414.0415 seconds) are much lower than 2012a (574.746 seconds). Any suggestion on why this is the case would be greatly appreciated. Also, all other subsecquent code in MATLAB 2012a is much lower than 2009a. Thanks On 29 apr, 15:30, "Jerome " <the_r...@hotmail.com> wrote: > Hi , > I am profiling code in two different versions of MATLAB (2009a and 2012a). The machine 2012a is installed is newer than the machine with 2009a, and thus, a better CPU. However, when I execute the following: > > A=magic(10000) > A.*A > > I received two different timing results, the 2009a results (414.0415 seconds) are much lower than 2012a (574.746 seconds). Any suggestion on why this is the case would be greatly appreciated. > > Also, all other subsecquent code in MATLAB 2012a is much lower than 2009a. > > Thanks Simple question, but hard to answer: What happens if you exchange Matlab versions? I know, too much trouble, but this may shed some light on your problem. And do you have more memory available to the 2009a version? Just some thoughts. Good luck "Jerome " <the_rome@hotmail.com> wrote in message <jnjfp0$9fc$1@newscl01a...

matlab installer error
hello, I'm tring to install matlab r2011b in mac air with lion 10.7.3. When i launch the installer the console say this: Preparing installation files ... Installing ... Exception in thread "main" java.lang.NoClassDefFoundError: com/mathworks/installwizard/Launcher Caused by: java.lang.ClassNotFoundException: com.mathworks.installwizard.Launcher at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) Finished logout I found the error in the assistance, it say that the problem is in the path of the installer, but i check it and path have no space o other no alphanumeric caracter...i don't know what do...please help Same problem. Someone have any idea? Or maybe the MatLab team can help me... I bought a MatLab copy and I want to use it! "davide " <bdavi@live.it> wrote in message <jkp4be$i7o$1@newscl01ah.mathworks.com>... > hello, I'm tring to install matlab r2011b in mac air with lion 10.7.3. When i launch the installer the console say this: > > Preparing installation files ... > Installing ... > Exception in thread "main" java.lang.NoClassDefFoundError: com/mathworks/installwiza...

error in the matlab program
Hi to all, When i execute the matlab program i am getting an error. i have given the code and also the error below.please help me to solve this error. code: I=imread('blueline.jpg'); imshow(I); Igreen=(I(:,:,1)<10)&(I(:,:,2)<10)&(I(:,:,3)>200); Igreen_labeled = bwlabel(Igreen); Igreen_props = regionprops(Igreen_labeled); Igreen_length_in_pixel = Igreen_props.BoundingBox(3); disp(Igreen_length_in_pixel); Error: Too many outputs requested. Most likely cause is missing [] around left hand side that has a comma separated list expansion. Error in find_length (line 13) Igreen_length_in_pixel = Igreen_props.BoundingBox(3); Thanks & Regards, Arun ...

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. ...

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...

error in matlab code #2
hi, when i run the main.m file it is calling the below mentioned function. On executing this function i encountered an error i.e.. >> main Conversion to cell from double is not possible. Error in d2dgauss (line 14) h(i,j) = gauss(u(1),sigma1)*dgauss(u(2),sigma2); function h = d2dgauss(n1,sigma1,n2,sigma2,theta) r=[cos(theta) -sin(theta); sin(theta) cos(theta)]; for i = 1 : n2 for j = 1 : n1 u = r * [j-(n1+1)/2 i-(n2+1)/2]'; h=cell(i,j); h(i,j) = gauss(u(1),sigma1)*dgauss(u(2),sigma2); end end h = h / sqrt(sum(sum(abs(h).*abs(h)))); Thanks & Regards, Arunkumar "Arun" <arun.pk2k3@gmail.com> wrote in message news:e7160db1-a06b-49e6-83a7-c4d21156683b@t6g2000pba.googlegroups.com... > hi, > when i run the main.m file it is calling the below mentioned function. > On executing this function i encountered an error i.e.. > >>> main > Conversion to cell from double is not possible. > > Error in d2dgauss (line 14) > h(i,j) = gauss(u(1),sigma1)*dgauss(u(2),sigma2); > > > > function h = d2dgauss(n1,sigma1,n2,sigma2,theta) > r=[cos(theta) -sin(theta); > sin(theta) cos(theta)]; > for i = 1 : n2 > for j = 1 : n1 > u = r * [j-(n1+1)/2 i-(n2+1)/2]'; > h=cell(i,j); This overwrites h each iteration with a larger and larger cell array. Pull the line above out of your loops. > h(i,...

Error while using matlab compiler
Hello, I have the R2011a MATlab release, and while converting my code to a stand alone application using mcc, I get the following warnings: Warning: an error occurred while parsing class uimgr.uiexplorer: Undefined function or method 'findclass' for input arguments of type 'double'. In C:\Program Files\MATLAB\R2011a\toolbox\shared\spcuilib\@uimgr\@uiitem\schema.p>schema at 138 In C:\Program Files\MATLAB\R2011a\toolbox\shared\spcuilib\@uimgr\@uimenu\schema.p>schema at 12 Warning: an error occurred while parsing class uimgr.uiitem: Invalid data type. > In C:\Program Files\MATLAB\R2011a\toolbox\shared\spcuilib\@uimgr\@uimenu\schema.p>schema at 12 Warning: an error occurred while parsing class uimgr.uimenu: Invalid superclass handle. My code does not take inputs, but it does call .m files as functions - which shouldn't be a problem because the gui of matlab compiler is quite simple, all I did was add the main calling file in the main file section and the called functions in the shared resources/helper files section. What is the reason behind this error? the compiler successfully builds a .exe file but I don't get my output while running the application. My code uses the following toolboxes: Computer vision toolbox Neural network toolbox I would be grateful if someone could help me out! regards, Rakshit P.S - My program also calls saved variables in .mat files using the load function! Also could someone give me a link to ...

Web resources about - Error version MATLAB - comp.soft-sys.matlab

Android version history - Wikipedia, the free encyclopedia
Global Android version distribution since December 2009. As of September 2013, Android 4.1/4.2 Jelly Bean is the most widely-used Android version, ...


Apple releases a new version of iOS 9.3 that won’t brick older devices
Shortly after Apple released iOS 9.3 into the wild last week, it had to stop distributing the update for several of its older devices. Days later, ...

This is the most realistic video game version of New York City we've ever seen
... is like no other video game you've ever seen. The game, which is set in post-apocalyptic New York City, portrays a stunningly realistic version ...

NRA draws fire for new versions of children's fairy tales - Videos - CBS News
There is a new twist on some classic fairy tales, courtesy of the National Rifle Association. On the NRA Family website, the organization is ...

Mitsubishi Delays US Version Of 2017 Mitsubishi Outlander PHEV
Originally published on EV Obsession. The recent unveiling of a prototype US-version of the 2017 Mitsubishi Outlander plug-in hybrid at the 2016 ...

Apple pushes yet another version of iOS 9.3 to fix activation bug
The latest update fixes a bug that affects older iPhones and iPads. But wait, there's more! Apple still has to resolve a separate issue that ...

‘Do Your Job:’ The Left Just Got Its Very Own Version Of Kim Davis
‘Do Your Job:’ The Left Just Got Its Very Own Version Of Kim Davis

'Contra' for phones looks just as tough as the console versions
... tough (there's a good reason it's synonymous with the Konami code), and it doesn't look like it'll be any easier in its smartphone version. ...

The Walking Dead Chinese Version
There is growing concern about China’s so-called “zombie companies." A zombie company is a company that continues to function but is basically ...

Resources last updated: 3/30/2016 5:08:45 PM