To resolve issues starting MATLAB on Mac OS X 10.10 (Yosemite) visit: http://www.mathworks.com/matlabcentral/answers/159016
I want to combine different model components including different equations in a flexible way.
I think the best option is to define each model component as a class (I will have different versions of each ‘model component’ and some can be added or left out). I then want to connect the different components (classes) into a model. Thereby, the model will have to execute a flexible set of equations that is “inherited” from the different classes. The number of equations depends on the particular classes I combine. This flexible set of equations is passed on to a solver and should have no redundancies.
Can anybody help me to achieve this combining of equations in an automated way? Thanks in advance!