matlab - Where does Simulink start execution from? -


I believe it is possible to transfer the MATLAB code to the simulac. When we program in MATLAB, I know that it will be executed according to the line from top to bottom line. On the other hand, simulals are connected to Indian blocks which are connected to each other, reaction signals may be sub-systems whose outputs are input to other blocks and it seems ... we have 3 subsystem blocks Are connected to each other and the last block's output is fed first, which starts with the simulin block?

My question may be silly after a long time playing with MATLAB and Symuly, but I do not know the answer yet!

It depends on the actual simulation model. Before the simulation began, Simulal analyzed the model (where the blocks are connected, there are algebraic loops, etc.). The result is the so-called ordered order of the blocks, which is actually used to execute the blocks code.

See for details.

Comments

Popular posts from this blog

Pass DB Connection parameters to a Kettle a.k.a PDI table Input step dynamically from Excel -

multithreading - PhantomJS-Node in a for Loop -

c++ - MATLAB .m file to .mex file using Matlab Compiler -