Создайте mapshape вектор.
ms =
162x1 mapshape vector with properties:
Collection properties:
Geometry: 'point'
Metadata: [1x1 struct]
Vertex properties:
(162 features concatenated with 161 delimiters)
X: [1x323 double]
Y: [1x323 double]
Feature properties:
Year: [1x162 double]
Month: [1x162 double]
Day: [1x162 double]
Hour: [1x162 double]
Minute: [1x162 double]
Second: [1x162 double]
Val_Code: [1x162 double]
Validity: {1x162 cell}
Cause_Code: [1x162 double]
Cause: {1x162 cell}
Eq_Mag: [1x162 double]
Country: {1x162 cell}
Location: {1x162 cell}
Max_Height: [1x162 double]
Iida_Mag: [1x162 double]
Intensity: [1x162 double]
Num_Deaths: [1x162 double]
Desc_Deaths: [1x162 double]
Попытайтесь удалить несколько свойств из mapshape вектора.
s2 =
162x1 mapshape vector with properties:
Collection properties:
Geometry: 'point'
Metadata: [1x1 struct]
Vertex properties:
(162 features concatenated with 161 delimiters)
X: [1x323 double]
Y: [1x323 double]
Feature properties:
Year: [1x162 double]
Month: [1x162 double]
Day: [1x162 double]
Hour: [1x162 double]
Val_Code: [1x162 double]
Validity: {1x162 cell}
Cause_Code: [1x162 double]
Cause: {1x162 cell}
Eq_Mag: [1x162 double]
Country: {1x162 cell}
Location: {1x162 cell}
Max_Height: [1x162 double]
Iida_Mag: [1x162 double]
Intensity: [1x162 double]
Num_Deaths: [1x162 double]
Desc_Deaths: [1x162 double]
Свойства Second
и Minute
были удалены успешно. Обратите внимание на то, что свойство Geometry
все еще существует, потому что оно не может быть удалено. Кроме того, Intensity
не был удален, потому что имена свойства чувствительные к регистру.