From: Keunwook Chung on
Hello,

when I run the Simulink Model with the play button, it runs fine.

In contrast, when I use the 'Command Window' to run the same Simulink Model,
(typing in sim(nh.mdl,'50'); for example)
'??? Attempt to reference field of non-structure array.' shows up.

I don't know how I could handle this without this error.

Thank you for reading and hope to solve this problem.