MATLAB Answers

1

Is Mac OS Lion compatible with R2010a 64-bit?

Asked by hajime yamada on 21 Jul 2011
Hello. I am using Matlab/Simulink R2010a 64-bit with other toolboxes. Are they fully compatible with the latest Mac OS Lion? Thanks.

  0 Comments

Sign in to comment.

2 Answers

Answer by Ken Atwell
on 21 Jul 2011

Lion is supported beginning with R2011a.

  1 Comment

I'm finding MATLAB R2011a extremely sluggish on 10.7. It takes time to copy/paste some code snippet into the command window, launch and plot data in a figure (particularly when using subplots), and bringing the command window back into focus.

Sign in to comment.


Answer by Nathan
on 8 Apr 2012

Yup, I have a similar problem. I am running R2010a Student Version maci 32 with OS X 10.7.3 on an intel dual core
It is miss calculating the 58th matrix position which is a really weird error, but clearly an error once I added some test lines to take a closer look. The rest looks ok, but I am not going to check with my hand calculator or export my code to another platform just to verify. At that point, I might as well just use the "other platform".
Maybe someone from MathWorks can weigh in on why this is going wrong and if there is anything we can do about it or are we stuck upgrading to R2012a?
my code:
A=zeros(100,6);
for i=0.1:0.01:1,
i,floor(i*100),
pd = pipeflow(i,p,pd);
pd.f = frictionfactor(pd.Re);
A(floor(i*100),:) = [pd.Ac pd.U pd.Re pd.RR pd.f i];
end
My Code output:
i = 0.5600 ans = 56
i = 0.5700 ans = 57
i = 0.5800 ans = 57
i = 0.5900 ans = 59
i = 0.6000 ans = 60
And the matrix A entries:
0.246300864041440 4.06007507887488 2262965.22061257 2.67857142857143e-05 0.0104473738735185 0.560000000000000
0.264207942166902 3.78489757650167 2184931.93714317 2.58620689655172e-05 0.0105059367576272 0.580000000000000
0 0 0 0 0 0
0.273397100678652 3.65768326554198 2147899.19244582 2.54237288135593e-05 0.0105345195174468 0.590000000000000
0.282743338823081 3.53677651315323 2112100.87257173 2.50000000000000e-05 0.0105627175128140 0.600000000000000

  1 Comment

http://matlab.wikia.com/wiki/FAQ#Why_is_0.3_-_0.2_-_0.1_.28or_similar.29_not_equal_to_zero.3F

Sign in to comment.