<commit_before>#Instructions for the Wing Optimization Example
In order to be able to run the wing optimization example the Open-source [dAEDalus tool](https://github.com/sbind/dAEDalusNXT)
is required. *dAEDalus* is not bundled with this repo. The user should obtain it manually from Github and install it and
its dependencies. 

*dAEDalus* is written for [MATLAB](https://www.mathworks.com/products/matlab.html), so a working installation of it is 
required as well. This example interfaces with the MATLAB code of *dAEDalus* using the 
[MATLAB Engine API for Python](https://www.mathworks.com/help/matlab/matlab-engine-for-python.html). The Python package
required to use this API is bundled with MATLAB, but should be installed in Python before the Python interpreter 
recognizes it. Instructions for how to do this can be found at: https://www.mathworks.com/help/matlab/matlab_external/install-the-matlab-engine-for-python.html

Two other tools that *dAEDalus* needs are [TIXI](https://github.com/DLR-SC/tixi) and [TIGL](https://github.com/DLR-SC/tigl).
It uses these to read and write [CPACS](https://github.com/DLR-LY/CPACS) files. Their installation includes bindings for
MATLAB which are required by *dAEDalus*.

Finally, once the *TIXI* and *TIGL* bindings, as well as *dAEDalus* have been obtained, a number of folders should be 
ensured to be present in the MATLAB search path every time a new instance of MATLAB is started. To do so, create a file
called `startup.m` in the default working directory of MATLAB with the following contents:
```Matlab
addpath /path/to/tixi/matlab
addpath /path/to/tigl/matlab
addpath /path/to/dAEDalus/aerodynamics
addpath /path/to/dAEDalus/aircraft
addpath /path/to/dAEDalus/criticaldesign
addpath /path/to/dAEDalus/geometry
addpath /path/to/dAEDalus/stdlib
addpath /path/to/dAEDalus/structures<commit_msg>Update wing_opt.md<commit_after># Instructions for the Wing Optimization Example
In order to be able to run the wing optimization example the Open-source [dAEDalus tool](https://github.com/sbind/dAEDalusNXT)
is required. *dAEDalus* is not bundled with this repo. The user should obtain it manually from Github and install it and
its dependencies. 

*dAEDalus* is written for [MATLAB](https://www.mathworks.com/products/matlab.html), so a working installation of it is 
required as well. This example interfaces with the MATLAB code of *dAEDalus* using the 
[MATLAB Engine API for Python](https://www.mathworks.com/help/matlab/matlab-engine-for-python.html). The Python package
required to use this API is bundled with MATLAB, but should be installed in Python before the Python interpreter 
recognizes it. Instructions for how to do this can be found at: https://www.mathworks.com/help/matlab/matlab_external/install-the-matlab-engine-for-python.html

Two other tools that *dAEDalus* needs are [TIXI](https://github.com/DLR-SC/tixi) and [TIGL](https://github.com/DLR-SC/tigl).
It uses these to read and write [CPACS](https://github.com/DLR-LY/CPACS) files. Their installation includes bindings for
MATLAB which are required by *dAEDalus*.

Finally, once the *TIXI* and *TIGL* bindings, as well as *dAEDalus* have been obtained, a number of folders should be 
ensured to be present in the MATLAB search path every time a new instance of MATLAB is started. To do so, create a file
called `startup.m` in the default working directory of MATLAB with the following contents:
```Matlab
addpath('/path/to/tixi/matlab')
addpath('/path/to/tigl/matlab')
addpath('/path/to/dAEDalus/aerodynamics')
addpath('/path/to/dAEDalus/aircraft')
addpath('/path/to/dAEDalus/criticaldesign')
addpath('/path/to/dAEDalus/geometry')
addpath('/path/to/dAEDalus/stdlib')
addpath('/path/to/dAEDalus/structures')
{'fraction_non_alphanumeric': 0.09619506966773848, 'fraction_numerical': 0.0, 'mean_word_length': 4.869496855345912, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 14, 'lorem ipsum': 0, 'www.': 6, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6095854', 'n_tokens_mistral': 1230, 'n_tokens_neox': 1155, 'n_words': 421}