How to display results obtained from simulink

1 view (last 30 days)
I have a Simulink model in which I have added 15 to workspace blocks(array format).I want to write these values with variables into excel sheet.I have done manually buy tying all variable names and ten use xlswrite,but it takes time.is there any way to do without manualy entering.I tried simOutVar = simOut.who,it displays variables.but I need with values to display . simOut.get()also I tried but have to enter each time the variable name
for ex I used in to workspace block names as result1 to result 15
I need to display like(with values were I run for 10sec,i dispaled 2 answers)
result1 result2.......result15
0.23 0.98 0.84
0.20 0.99 0.99
is it possible

Answers (0)

Community Treasure Hunt

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

Start Hunting!