Simulink is a powerful simulating and programming tool. In many applications, we need to write scripts to automate specific tasks. At this time, we often need to obtain or modify the parameter values of the block diagram in command line. Read more about Get the parameters of Simulink block
It looks that in newer versions of Matlab, some HMI (Human Machine Interface, e.g., Diagnostic Viewer, Live Scripting) functions are realized by means of local network port communication. However, this approach seems unreliable. From year 2014 to 2020, many users Read more about A workaround for Simulink’s blank diagnostic viewer issue
Simulation Data Inspector is a useful tool to view or compare the simulation results of Simulink. Compared to the Scope block, the Data Inspector is more flexible to use. However, after a period of time, the .dmr file of Data Read more about Clear Simulink Data Inspector’s Large .dmr File
Recently I discovered an undocumented feature of Simulink, i.e., plot bold line in block mask’s icon drawing commands. Limitations of the plot in icon drawing commands The plot function in the mask is a reduced plotting function. If we specify Read more about Plot bold line for Simulink block mask
Chinese Title: 为 Simulink Embedded Coder 增加模块中间变量的初始化功能 Transfer Function of First-Order LPF For a simulink block, the mask’s initialization commands is not included in the generated code. Take a first-order low-pass filter for example, the Laplace transfer function { Y(s) Read more about Add intermediate parameter initialization function for Simulink Embedded Coder