detecting modeling clones video -凯发k8网页登录
learn how the clone detector app showcases different ways of detecting modeling clones and refactoring simulink® models for improved efficiency.
hi, my name is gerald gupta and i'm a software engineering manager at mathworks. in this video, i'll be talking about the clone detection app and the features available with simulink check. the clone fiction app is a new simulink toolship app that simplifies the process of managing large models and helps to factor large models into the useful components.
in this sample model with reference models, clicking on the fine points button will find and highlight exact and similar clones in the model hierarchy, clones of subsystems in the models that are exactly the same or differ by some parameters. you can look at the individual clone groups and drill down further to see any parameter difference between the clones. you can also look at potential de facto benefits, which indicate a reduced file size for the generated code. you can choose to refactor these clones to a particular library by clicking on the replace clones button.
in this example, all subsistence have now been replaced by the library blocks. the library blocks with different parameters now have a mask to manage the different values for the different instances. you can also check the equivalency of the replaced model by either clicking on the test manager or running the test.
one of the latest additions to the settings is the ability to now refactor exact clones into subsystem references. i will again open up the default model. and now by selecting this setting, when i click on find clones, it will now only detect exact clones. these clones can then be refactored into subsystem reference files. you can select the file name. now when you click on replace clones, these will be refactored as subsystem references.
this video shows how you can use the clone detection app to find any factor modeling clones. thank you.
featured product
simulink check
您也可以从以下列表中选择网站:
如何获得最佳网站性能
选择中国网站(中文或英文)以获得最佳网站性能。其他 mathworks 国家/地区网站并未针对您所在位置的访问进行优化。
美洲
- (español)
- (english)
- (english)
欧洲
- (english)
- (english)
- (deutsch)
- (español)
- (english)
- (français)
- (english)
- (italiano)
- (english)
- (english)
- (english)
- (deutsch)
- (english)
- (english)
- switzerland
- (english)
亚太
- (english)
- (english)
- (english)
- 中国
- (日本語)
- (한국어)