Filter löschen
Filter löschen

Undefined function or variable 'K'

1 Ansicht (letzte 30 Tage)
Manuel Guzman
Manuel Guzman am 12 Sep. 2020
Kommentiert: Chandan Gupta am 13 Mär. 2021
What can I possibly change from my gmsh file (see attached FocusingMesh.msh) so that I can import the file through the import mesh quickerSim routine (see importMeshGmsh.m attached below) in matlab?
I seem to be getting an error message of "undefined function or variable 'K'" in line 218 of the imporMeshGmsh.m file: tmp(i,:) = [L K];
Thank you

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 12 Sep. 2020
That is a version 4.1 mesh file, but the import routine can only be used for a subset of version 2 mesh files (that do not happen to have a PhysicalEntities section)
  2 Kommentare
Manuel Guzman
Manuel Guzman am 12 Sep. 2020
Thank you this fixed my problem!
Chandan Gupta
Chandan Gupta am 13 Mär. 2021
How can I change my file (A.txt) so that I can import the file through the import mesh quickerSim routine in matlab?

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu App Building finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by