Info

This question is closed. Reopen it to edit or answer.

Simulink Coder maintain input order in input struct

1 view (last 30 days)
S
S on 24 Jun 2013
Closed: MATLAB Answer Bot on 20 Aug 2021
Hello.
I'm trying to build a Simulink model with Simulink 2012a. Due to performance issues I like to copy all input data into the input struct using memcpy. Unfortunately Simulink 2012a doesn't maintain the order of my input blocks as they're numbered in Simulink but reorders them by datatype. Using 2013a everything works perfectly fine but some of my team members don't have access to the most recent versions. Is there a setting somewhere to force Simulink 2012a to maintain the order when generating the input structure?
Thank you in advance, Cheers

Answers (0)

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!