How to set Simulink line's Name Location as M-Script
2 views (last 30 days)
Ritish Sehgal on 29 Jun 2022
Edited: Ritish Sehgal on 29 Jun 2022
It is my understanding that you want to format the names of the Simulink signal lines in such way that they appear in the center using a MATLAB script.
I have attached the link to the documentation below which gives an example of setting the “NameLocation” parameter, but it is for setting Block’s NameLocation, not the Signal lines’ NameLocation.
I tried to search for a similar parameter for Signal lines but I believe there is no such parameter as of now. So, centering the name of signal lines using “set_param” function might not be possible.