MATLAB Answers


Goto's and From's performance in Generated C code

Asked by Payam
on 27 Jun 2019
I personaly like to use Goto and From blocks in order to have a easy to read model in Simulink. But now the question came to me if this is a good idea to use them and would that increase or decrease the performance in generated code. I think it shouldn't because I think the Goto block is not similar to Goto in C. I think it is just a model based beauty to undrestand the model better and save some space without having so many spider legs. so my main question is: Is using Goto block a good idea when it comes to the performance of the generated C code?
Thanks in advance.


Sign in to comment.

0 Answers