Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Combining/concatenating functions/methods?

Asked by Svenn on 5 Dec 2012

Dear all,

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!

Best, Svenn

0 Comments

Svenn

Products

0 Answers

Contact us