ds1 = 金宝appSimulink.SimulationData。数据集'yout' with 2 elements Name BlockPath ____ _________ 1 [1x1 Signal] x1 vdp/Out1 2 [1x1 Signal] x2 vdp/Out2 - Use braces { } to access, modify, or add elements using index.
日志数据分组在一个信号数据集对象的默认名称logsout。
ds2 = out.logsout
ds2 = 金宝appSimulink.SimulationData。数据集'logsout' with 1 element Name BlockPath ____ _________ 1 [1x1 Signal] '' vdp/Mu - Use braces { } to access, modify, or add elements using index.
您可以使用concat日志记录功能结合信号数据集对象和记录的输出数据集对象到一个连接数据集对象。
combinedDataset = concat (ds1, ds2)
combinedDataset = 金宝appSimulink.SimulationData。数据集'yout' with 3 elements Name BlockPath ____ _________ 1 [1x1 Signal] x1 vdp/Out1 2 [1x1 Signal] x2 vdp/Out2 3 [1x1 Signal] '' vdp/Mu - Use braces { } to access, modify, or add elements using index.