如何获取simulink模块的输入和输出变量名称?。
16 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
华纳公司在线开户【微8785092】
am 16 Mai 2023
Beantwortet: 华纳公司游戏网址【微8785092】
am 16 Mai 2023
我最近被要求写一个脚本,用来测试公司的一个simulink模型,要求是从表格中读取输入变量的值,然后代入Subsystem中运行,将得到的结果与预期结果相比较,看看是不是有问题。
我用gbch命令查看了一下Subsystem的句柄,其中有一个Blocks的cell项,其中就包括了该Subsystem的所有输入输出变量名,但我想将输入和输出区分开来,不知道该如何操作
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!