Sorry, I have a problem...
When I doing code generation > Build Model(ctrl+B)
Simulink appear error message like this:
Data store memory with name 'ServoMotorA' was not found for block 'Copy_of_TestMotorOSEK/Servo Motor Write/Data Store Write'
I found some errors but I'm now sure if I can fix them. For example, in tsk_type2, a variable i appears, apparently indicating a particular input value, but it is not defined before. If someone can help me (probably the author)... thank you!