显示打开Simulink模型并关注特定块的命令 [英] Command to show open a Simulink model and focus on a specific block

查看:166
本文介绍了显示打开Simulink模型并关注特定块的命令的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在一个单独的文档中,有一长串注释引用了Simulink模型中的命名子系统块.我将使用一个脚本来处理文档,该脚本将生成一个浏览器可见的页面,每个块名称都可以单击-这样,当您单击块名称时,Matlab将使用CLI命令启动,并显示模型.评论指的.

I've got a long list of comments in a separate document that refer the named subsystem blocks within a Simulink model. I'm going to process the document with a script that will generate a browser-viewable page, with each block name clickable - such that when you click on the block name, Matlab will launch using a CLI command, and display the model which the comment refers to.

文档生成和shell函数调用全部正常,但是我找不到以特定块为中心的命令.一旦使用命令行中的标准打开命令打开了模型,我正在寻找一种查找/搜索"功能,以将视图居中于指定的块上.

The document generation and shell function call is all working, but I can't find a command that will centre on a specific block. I'm looking for a type of "find/search" function to centre the view on a specified block, once the model has been opened using a standard open command from the command-line.

我怀疑这不可能,但值得一问.有什么想法吗?

I suspect that it might not be possible, but worth asking. Any ideas?

谢谢

推荐答案

使用所选块也将突出显示,您可以使用可选的第二个参数删除突出显示,或者根据需要对其进行自定义.

The selected block is also highlighted, you can use the optional second parameter to remove highlighting, or customize it, if desired.

这篇关于显示打开Simulink模型并关注特定块的命令的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆