File Exchange

image thumbnail


version 1.0 (65.6 KB) by

drawDATCOMaircraft generates an aircraft's thre view drawings from given DATCOM input files.

6 Ratings



View License

DATCOM has been widely used for preliminary estimation of an aircraft's aerodynamic coeficients and its stability derivatives. Given an aircraft configuration declared in an ASCI text file, DATCOM will easily provide the estimation of the aircraft's aerodynamic coeficients and its stability derivatives for given atmospheric condition. Unfortunately, since the input for DATCOM is a text file, it is quite hard to check whether the aircraft configuration declared in it is correct and the same with the design to be evaluated. Thus, to accomodate this problem, drawDATCOMaircraft was created. drawDATCOMaircraft reads aircraft configuration parameters from DATCOM input file and generates aircraft's three view drawings based on it. From these drawings, hopefully it will be easier to check the input file before using DATCOM to process it.

Comments and Ratings (11)

saif saif

after adding drawDATComaircraft to matlab path , i runned a test with datcom inputfile (*.dcm) so i got this message :
Error using fgets
Invalid file identifier. Use fopen to generate a valid file identifier.

Error in fgetl (line 33)
[tline,lt] = fgets(fid);

Error in drawDATCOMaircraft (line 35)

any help please !!

Sourabh Jain

Error in fgetl (line 33)
[tline,lt] = fgets(fid);

Error in drawDATCOMaircraft (line 35)
why i am getting this error

Sorry for this question, but do you hace a manual or something? Thanks

Sorry mis-typed on previous comment.
Here below the right comment:

"Variable Name DHDADO on $WGPLNF doesn't work.
All parameters for OUTBOARD panel such as Dihedral angle, outboard sweep angle, etc, all are not working in this file.

Pawel Debski

Dear all !
I have downloaded drawDATCOMaircraft, and i found in MATLAB Aero/astdemos folder.

How to force it to work together as in instruction video on Mathworks web page ?
I type drawDATCOMaircraft('') and MATLAB replays with undefined function.
Thanks in advance !

Great, very handy! Thank you

Kindly provide some example how to use this drawDATCOMaircraft.

Ryan G

Ryan G (view profile)

What does the while loop at line 240 do? I had to comment this out to process the demo datcom file from Aero toolbox, but it still appeared to work...

Ryan G

Ryan G (view profile)


great work

MATLAB Release
MATLAB 7.11 (R2010b)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video