[Nirfast] create mesh errors
Hamid Dehghani
h.dehghani at cs.bham.ac.uk
Mon Jul 11 04:53:33 EDT 2016
OK, so this is another error due to MATLAB update.
The error is coming from the fact that in a textscan, 'BufSize' argument
is now redundant.
To fix, edit read_nod_elm (line 45) by typing
edit read_nod_elm.m
and on approximately line 45, replace
data = textscan(fid,'%u32 %f %f %f%*[^\n]','bufsize',409500);
with
data = textscan(fid,'%u32 %f %f %f%*[^\n]');
I have tested this on a Mac, running MATLAB2016 and it fixes the problem.
Hamid
On 05/07/2016 21:58, Hamid Dehghani wrote:
>
> I think if you open "optimize_mesh_gui.m" by typing
>
> edit optimize_mesh_gui.m
>
> and look at line 79, you should comment these 5 lines out:
>
> %if myflag
> % set(handles.text4,'String','Optimization is highly recommended
> for your mesh due to very poor quality elements!');
> %else
> % set(handles.text4,'String','');
> %end
>
> Hamid
>
>
> On 05/07/2016 21:49, Vincent Kitsmiller wrote:
>> I am having trouble generating a cylindrical mesh. In MATLAB R2014b
>> on MAC I get this errorInline image 1
>> In MATLAB R2012b on PC I get this error
>> Inline image 2
>> I can however generate a circular mesh without a problem. Thanks.
>>
>> -Vince
>>
>>
>> _______________________________________________
>> Nirfast mailing list
>> Nirfast at public.kitware.com
>> http://public.kitware.com/mailman/listinfo/nirfast
>
> --
> --------------------------
> 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
--
--------------------------
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
http://mi-lab.weebly.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/nirfast/attachments/20160711/9d2dc9e4/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 67092 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/nirfast/attachments/20160711/9d2dc9e4/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 156011 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/nirfast/attachments/20160711/9d2dc9e4/attachment-0003.png>
More information about the Nirfast
mailing list