1. "create_parameters" creates 500 problem instances (robor dynamic parameters, disturbances, initial conditions, etc) in the data file "parameters.mat".

2. "get_data_InvDynamicsControl_pendulum.m" creates 100 trajectories, using the aforementioned parameters, of the pendulum executing the task and save the data in the folder /training_data_python.

4. "shuffle_data.py" shuffles randomly the aforementioned data and saves them in "shuffled_data.pkl".

5. "train.py" trains a neural network using the shuffled data and saves it in "NeuralNetworkPendulum".

6. "convert_to_onnx.py" converts the neural network structure to a matlab-friendly variable -"NeuralNetworkPendulum.onnx".

7. "test.m" is the proposed neural-network + adaptive control policy.

8. "plot_stuff.m" plots the results.

