I am trying to build a spherical mesh in toast++ but I am facing some problem while importing the mesh from gmsh to matlab. On running the following command from matlab prompt:
mesh = toastMesh('sphere.msh','gmsh')
I get the following error:
Attempt to reference field of non-structure array.
Error in toastReadGmshMesh (line 11)
vtx = gmsh.POS;
Error in toastMesh (line 78)
obj = toastReadGmshMesh(arg1);
Can you please tell me why am I getting this error?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am trying to build a spherical mesh in toast++ but I am facing some problem while importing the mesh from gmsh to matlab. On running the following command from matlab prompt:
mesh = toastMesh('sphere.msh','gmsh')
I get the following error:
Attempt to reference field of non-structure array.
Error in toastReadGmshMesh (line 11)
vtx = gmsh.POS;
Error in toastMesh (line 78)
obj = toastReadGmshMesh(arg1);
Can you please tell me why am I getting this error?