deleted IntermediateState as a keyword
added a simple example of a closed-loop simulation using MPCexport with SIMexport from MATLAB