I am trying to read the compiled sample time of a Block in its mask through a callback connected to a button in the mask of the block. But before I read the Compiled Sampletime, it is necessary for me to initialize the Model, for which I have written the following command in my callback:
But I get the following error:
I tried another way of executing the same, and yet I am presented with the same error.
What is it that I am doing wrong?
Thanks in advance :)