Datcom import error

9 views (last 30 days)
Erwin
Erwin on 1 Dec 2011
Hello,
I have written a mfile that runs datcom in matlab command window, imports the data and plots the desired data (The mfile is largely based on the matlab documentation for aerospace toolbox, i admit). I hope you are all femiliar with datcom, but for clarity: there is a .dcm input file and a .out output file. The .out file can be imported in matlab using the datcomimport function.
The datcomimport function used to work fine with a previous airplane design, but now it gives problems.
You can download the mfile, the .dcm file and the datcom version that i am using here: http://www.2shared.com/file/jHLoAuCg/Deluxe2.html
I am using matlab R2011b.
The following error occurs:
Assignment has fewer non-singleton rhs dimensions than non-singleton
subscripts
Error in C:\Program Files\MATLAB\R2011b\toolbox\aero\aero\private\usafdatcom.p>usafdatcom/getoutputdata/dataread (line 2741)
Error in C:\Program Files\MATLAB\R2011b\toolbox\aero\aero\private\usafdatcom.p>usafdatcom/getoutputdata (line 2638)
Error in C:\Program Files\MATLAB\R2011b\toolbox\aero\aero\private\usafdatcom.p>usafdatcom (line 110)
Error in datcomimport (line 85)
[casenoout casedata] = usafdatcom(files,usenan,verbose);
Error in Process_data (line 6)
alldata = datcomimport('Deluxe2.out');
Could you please help me solving this problem?
Many thanks in advance.

Answers (0)

Community Treasure Hunt

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

Start Hunting!