Sketch Size (Simulink)

Hi, I am looking for a code that shows the total size of the code sent to Arduino. I can see the size of the code on Arduino IDE but I am programming Arduino through Simulink (Arduino Target) . Thats why I need to know the size of the code sent through Simulink.

Thanks for the help.

im not sure if arduino is cappable of reading its own programmable memory..

nick

Thanks for the quick reply.

Well then is there a way to know the size of code created in Simulink?

im not sure if arduino is cappable of reading its own programmable memory

Of course it is. Not sure how it would help solve this problem though.

I still couln't find the solution. Can anyone help me about this?