I have created a FIG gui which has options to start or open a new project, open a custom library, simulate, plot graphs etc. On clicking the start new project option a new simulink window will open.I have made a custom library which has blocks or elements that I have created on my own, each having associated parameters, shown below:
Then the user can drag and drop these blocks as required to the simulink window and make a single line diagram by interconnecting these blocks. Then the user can click on each block and enter the parameter values. Now when the user clicks the 'simulate' option in the FIG gui, simulation has to be done according to the equations that I have. How do i access the simulink block parameters that the user has entered and how do i program the equations (M code?, matlab functions?) when i write the matlab functions how do I specify the input arguments since they are the values that the user will provide in the simulink window?? I tried searching a lot but not getting a clear idea.The results are focussed either entirely on GUI creation or I would say leaving very vague ideas of what exactly has to be done. It would be of great help if someone could list down the steps for a beginners perspective. Thanks in advance