-> I am doing automation on simulink model which includes targetlink blocks(which also have user defined library blocks). As per my requirement I am editing library model as well and trying to generate code. If my model includes Library models which have function block the code genetation is not happening and throughing Error #15300 error. I have crosschecked my libraries are saved correctly and all the links are correct in model as well.
I fould some unintentional changes on inport and outport blocks after I run my script on model.Please find below higlighted properties which are updating without intention.If I retaine these chages and generating code its susscessfully generating.
Could any one please help how these settings are getting modified and how can we access these propertis trhough script. Info:these are targetlink port used inside simulink model.