Info

この質問は閉じられています。 編集または回答するには再度開いてください。

import simulink tsarray from workspace

1 回表示 (過去 30 日間)
Notsure USA
Notsure USA 2014 年 3 月 4 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
R2011b
I log data from the inputs of the referenced models during the simulation of the top model. Then I want to use that logged data as inputs for the referenced models when simulating the referenced models individually.
I log the input data using signal logging by ModelDataLogs when running the top model.
This gives me logsout.blah.blah.blah, a 1x1 Simulink.TsArray
Now I want to send that input data into my referenced model individually, but I can't figure out how to get that logged data back into simulink as a bus, that my model is expecting.
and here http://www.mathworks.com/matlabcentral/answers/98772 (here his simple_script.mdl probably has my answer but it is an invalid model so I can't see it).
Can someone walk me through this process? It must be pretty common.
Bonnie

回答 (0 件)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by