I have a, rather complex, SimEvents model. The input to my model is a text file containing entitiy attributes. Every time I use a different text file I must update few parameters. Parameters here include variables' values inside Level2 M-S Functions, Embedded Matlab Functions, and To Work Space blocks' names.
I'd like to be able to try-out different text files without having to physically update those parameters inside my model before launching the simulation. I'm aware of the m-file scripting using the 'sim()' function. However, what I'm struggling with is defining the actual parameters. I'm not even sure whether I can have control over changing some of the variables' values inside my Level 2 functions. Also, I'm not sure whether those "things" that need updating which I mentioned above are Simulink 'parameters' or 'data objects'. Please do excuse my software engineering knowledge in here :-).
I'd really appreciate you guys pointing out for me ways at being able to change those parameters' values. Cheers