MATLAB: Building Simulink Modell from Matlab Code

blockMATLABparametersimulink

Hi there,
I am currently trying to build Simulink models from Matlab code and have some problems with.
My main problem is to figure out the names and/or path' of the blocks and their parameters. To find the block names I could find a workaround but I have no clue how to figure out the proper names of the parameters of one block. I would very appreciate if someone could tell me a function that returns the parameters or some workaround, so that I can change the parameters with
set_param('path to block','parameter name','parameter value')
Thank you very much!
Regards,
Lennart

Best Answer

get_param('path to block','DialogParameters')