Compiling S Function Error

Dear @Aman.Ali,

Can you share the full message from the MATLAB workspace when you try to run the sample file Run_OpenLoop.m? In your related post (problem with FAST on MATLAb/Simulink - #14 by Jason.Jonkman), it sounded like your problem was regarding the use of 32-bit controller with a 64-bit version of Simulink.

Best regards,