## The load utility FDCLOAD

FDCLOAD is a generic load utility that is used to load user-specified FDC datafile(s) via Matlab's UIGETFILE graphical user-interface. It provides a standardized way of retrieving FDC-data from file, using the FDC data-directory (subdirectory DATA) as a starting point to navigate through the datafiles. If that directory can't be found, the current working directory will be used instead.

### Usage

`fdcload('ext');`
opens a file browser, listing the files with extension 'ext' in the data directory (note: wildcards '?' and '*' may be used, and the extension may have more than 3 characters), and loads the selected file into the base workspace.

`fdcload('ext','datatype');`
opens a file browser, listing the files with extension 'ext' in the data directory (note: wildcards '?' and '*' may be used, and the extension may have more than 3 characters), and loads the selected file into the base workspace. 'datatype' is a short description of the type of data connected with the file-extension 'ext'; it will be shown in the uigetfile window.

It is possible to specify a default filename by replacing 'ext' with
`[filesep 'filename.ext']`
where 'filename.ext' is the default file. Wildcards '?' and/or '*' may be used.

Note: FDCLOAD will use the Matlab file-format, regardless of the file-extension (the datafiles are loaded with the '-mat' option). FDCLOAD is not (yet) able to handle ASCII datafiles!

### Related utilities

A couple of supporting Matlab macro's have been developed for frequently used datatypes: DATLOAD for model-parameter files, LINLOAD for linearized models, TRILOAD for trimmed-flight conditions, and MATLOAD for standard *.MAT files.