how can i model a structure of nasa almond?

I want to model a nasa almond structure.
i found a code on matlab but it shows an error of
undefined function platform.
p = platform;
p.FileName = 'NASA-Almond.stl';
p.Units = 'm';
figure
show(p)

5 Comments

What is platform? Where did you find the code? What you want to do exactly?
from the give link i found the above mentioned code.
i want to make a cad model of nasa-almond structure in matlab
It is a function from Antenna Tool box it seems..do you have that tool box?
Thanks,
but i dont have this tool box.
is there any other way to make such a model. I mean using any mathematical expression.

Sign in to comment.

Answers (2)

stlFileName = 'nasa.STL';
stlData = stlread(stlFileName);
% Extract the vertices and faces
vertices = stlData.Points;
faces = stlData.ConnectivityList;
patch('Vertices', vertices, 'Faces', faces, ...
'FaceColor', 'white', 'EdgeColor', 'black');
axis equal tight
view(30,30)stlData = stlread(stlFileName);% Extract the vertices and facesvertices = stlData.Points;faces = stlData.ConnectivityList;patch('Vertices', vertices, 'Faces', faces, ...'FaceColor', 'white', 'EdgeColor', 'black');axis equal tightview(30,30)
model Link: https://3d.uskudar.biz/barehull/3d-models/research-models/nasa-almond-geometry.html

Asked:

on 20 Jun 2020

Answered:

on 26 Feb 2026

Community Treasure Hunt

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

Start Hunting!