My destination is initialize the resolver of AD2S1205,the right of the below picture is the program of initialization.And the left of picture is the simulink model equal to the right.
but,the result of the Code generation is below
and the result is right ,but that is tedious,is not advantageous to optimize program,can you give me some advise?
the attachement is the model.
Original Attachment has been moved to: Reslover.zip