Modern autogenerated C code from Simulink is rather effective. It is neither garbage nor spaghetti, it is just... peculiar.
It’s also much, much more resource intensive (both compute and memory) than what a human would right for the same requirements.
It’s also much, much more resource intensive (both compute and memory) than what a human would right for the same requirements.