Hello,
I'm trying to import a datcom .out file into my Matlab workspace. The results are generated by means of Datcom+ version (by Holycow). The file is the 1976 version, so it is perfectly compatible. After the computation, I launch the command datcom_data = datcomimport("fastuav_drone.out", true, 0, 6) and I obtain the following error:
Now, the only arrays with nine elements are those of the elevator and the ailerons. So, I tried to delete them (keeping only body + wing + h tail + v tail) and the import actually works. I tried also a problem for a Cessna 172 found online, from which I copied the structure, and it works. Then I "forced" the Cessna code by asking for 20 alphas, 20 Machs, and 20 and altitudes (in the same range using linspace())(for a better interpolation) and it gives me the same error.
I don't really know what is the difference for "usafdatcom()" from mine and the Cessna's .out file. And then, I don't know why datcomimport does not work anymore if I increase the points (I tried also some combinations, e.g. 5 Machs/5 altitudes/15 alphas, and I got the same error).
I attach the .zip with the output files of my uav and the Cessna codes.
Help me before my PC starts to fly through the window.
Thank you so much to everyone who will answer :)