Hi, i guess it should have been simple but i cant find a solution since long time. I have a simulink model that has a "Matlab function" block. I have a parameters' function that i load each time automatically using simulink Callbacks=> InitFcn. I want my Matlab functin block to take its Sample time parameter defined in this init function, but it does not work.
but when i define the parameter manually in the matlab workspace, the block takes it.
any ideas !!
thanks in advance,
aft kh
Best Answer