<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>OK, so this is another error due to MATLAB update.</p>
<p>The error is coming from the fact that in a textscan, 'BufSize'
argument is now redundant.</p>
<p>To fix, edit read_nod_elm (line 45) by typing</p>
<p>edit read_nod_elm.m</p>
<p>and on approximately line 45, replace</p>
<p>data = textscan(fid,'%u32 %f %f %f%*[^\n]','bufsize',409500);<br>
with</p>
<p>data = textscan(fid,'%u32 %f %f %f%*[^\n]');</p>
<p>I have tested this on a Mac, running MATLAB2016 and it fixes the
problem.<br>
</p>
<p>Hamid<br>
</p>
<br>
<div class="moz-cite-prefix">On 05/07/2016 21:58, Hamid Dehghani
wrote:<br>
</div>
<blockquote
cite="mid:ec314bd9-ceb9-383f-a12b-677dac1ee70d@cs.bham.ac.uk"
type="cite">
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
<p>I think if you open "optimize_mesh_gui.m" by typing</p>
<p>edit optimize_mesh_gui.m<br>
</p>
<p>and look at line 79, you should comment these 5 lines out:</p>
<p>%if myflag<br>
% set(handles.text4,'String','Optimization is highly
recommended for your mesh due to very poor quality elements!');<br>
%else<br>
% set(handles.text4,'String','');<br>
%end<br>
</p>
<p>Hamid<br>
</p>
<br>
<div class="moz-cite-prefix">On 05/07/2016 21:49, Vincent
Kitsmiller wrote:<br>
</div>
<blockquote
cite="mid:CA+iB+ifa55mH1DQjtcsV_xWNpngkV9XQvrWxRHTyBVcM_h1OyA@mail.gmail.com"
type="cite">
<div dir="ltr">I am having trouble generating a cylindrical
mesh. In MATLAB R2014b on MAC I get this error<img
src="cid:part1.B18238BA.8D80311D@cs.bham.ac.uk" alt="Inline
image 1" width="516" height="299">
<div>In MATLAB R2012b on PC I get this error</div>
<div><img src="cid:part2.8A0F8B39.7F979528@cs.bham.ac.uk"
alt="Inline image 2" width="516" height="367"><br>
</div>
<div>I can however generate a circular mesh without a problem.
Thanks.</div>
<div><br>
</div>
<div>-Vince</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Nirfast mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Nirfast@public.kitware.com">Nirfast@public.kitware.com</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://public.kitware.com/mailman/listinfo/nirfast">http://public.kitware.com/mailman/listinfo/nirfast</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
--------------------------
Hamid Dehghani, PhD, MIPEM
School of Computer Science
Acting Director, Physical Sciences for Health Doctoral Training Centre
University of Birmingham
B15 2TT
0121 414 8728 </pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
--------------------------
Hamid Dehghani, PhD, MIPEM
School of Computer Science
Acting Director, Physical Sciences for Health Doctoral Training Centre
University of Birmingham
B15 2TT
0121 414 8728
<a class="moz-txt-link-freetext" href="http://mi-lab.weebly.com/">http://mi-lab.weebly.com/</a></pre>
</body>
</html>