如何获取simulink模块的输入和输出变量名称?。
Mostrar comentarios más antiguos
我最近被要求写一个脚本,用来测试公司的一个simulink模型,要求是从表格中读取输入变量的值,然后代入Subsystem中运行,将得到的结果与预期结果相比较,看看是不是有问题。
我用gbch命令查看了一下Subsystem的句柄,其中有一个Blocks的cell项,其中就包括了该Subsystem的所有输入输出变量名,但我想将输入和输出区分开来,不知道该如何操作
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre 子系统 en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!