I run the replace block command and uset set_param() to set the row data, table data and change it to 1D.
However after the script is done running the block still has two input ports, but if I open the block I see that all of the axis are set and the 1D option is selected and if I click 'ok' or 'apply' then the block will switch to having only one input port.
You can use a Simulink preference to specify whether to notify you if the model has changed on disk.
You can receive this notification when updating or simulating the model, first editing the model, or saving the model.
Math Works Machine Translation The automated translation of this page is provided by a general purpose third party translator tool.
The model can change on disk, for example, with source control operations and multiple users.In the Simulink Editor, select File environment variable and set its value to the name you use to log in to your system.