matlab - Simulink save final state leads to compile error -


i have simpe simulink model

simulink model

it compiles fine unless try save output states:

save output states

then face error when try compile it:

saving complete set of simstate supported model running in normal or accelerator mode, , model blocks running in normal mode.

matlab model error

why happen , how around that?

update:

my model set fixed step , set normal mode: simulink normal mode

as mentioned in comments, "building" model purpose of generating code/executables, , saving final states not supported code generation. if want run model, press "run" button, not "build" button , should work. see simulink documentation more details on how run model.


Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -

How to provide Authorization & Authentication using Asp.net, C#? -