Main Content

Improve Quick Block Insert Results

You can double-click the end of a signal line that you draw from an existing block to add a block. A menu of possible blocks to insert appears. For example, at the end of a signal line out of a Gain block, the menu suggests other math blocks. Simulink® comes with default suggestions.

You can improve the suggestions on this menu by updating the engine with information about your models. To do so, run a command on a single model or on all the models in a folder. Information about your model designs updates the engine. You can also remove this customization using a command.

GoalCommand

Improve results based on one model

slblocksearchdb.trainfrommodel

Improve results based on all the models in a folder

slblocksearchdb.trainfrommodelsindir

Remove the effects of a single model from the results

slblocksearchdb.untrainmodel

Remove the effects of all the models in a folder from the results

slblocksearchdb.untrainmodelsindir

Revert to the default results that come with Simulink

slblocksearchdb.untrainall

Related Topics