File Exchange

image thumbnail

Model Find and Replace Tool

version 2.0 (818 KB) by Sysenso Systems
FindReplaceTool helps to search a string in a Simulink model and replace it with another string.

13 Downloads

Updated 11 Jul 2020

View License

Simulink has in-built Search/Find options. It can be launched by pressing "Ctrl+F" within Simulink window. But, Simulink doesn't have Find-Replace functionality yet.

FindReplaceTool will help the user to Find-Replace a string in Simulink and Stateflow models.

1. This tool can be launched from MATLAB command window as follows,
Syntax:
* >> FindReplaceTool('<SystemPath>')
* >> FindReplaceTool

2. FindReplaceTool can also be launched from Tools/FindReplaceTool menu or from the model context menu.

Note: Please share your comments and contact us if you are interested in updating the features further.

Developed by: Sysenso Systems, https://sysenso.com/
Contact: contactus@sysenso.com

Version:
2.0 - Added support to do Find and Replace for block dialog parameters. Extended Replace action inside model reference blocks.
1.0 - Initial Version.

Cite As

Sysenso Systems (2020). Model Find and Replace Tool (https://www.mathworks.com/matlabcentral/fileexchange/77786-model-find-and-replace-tool), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (2)

The latest version has support to do Find and Replace for block dialog parameters and also supports Replace action inside model reference blocks.
We recommend to check "find_replace_system" which is an API to do find and replace almost any property within Simulink model : https://mathworks.com/matlabcentral/fileexchange/41404-simunlink-api-find_replace_system

The initial version 1.0 will not support matches in the 'DialogParameters' of the blocks. This support will be added in the subsequent releases.

Updates

2.0

Added support to do Find and Replace for block dialog parameters. Extended Replace action inside model reference blocks.

MATLAB Release Compatibility
Created with R2015b
Compatible with any release
Platform Compatibility
Windows macOS Linux

FindReplaceTool

FindReplaceTool/docs