I have wrote a program in Keil
for stm32F4
discovery microcontroller
and i want to run this C program in Matlab simulink
. For this I am trying to use legacy_code function in Matlab. But there are many parameters which I cannot add like
It would be really helpful if anyone guide me how to find these parameters from keil project/program
Most of those are just obvious as its name suggests, SFunctionName is the function name you want to run by the simulator, HeaderFiles is the header that contains the declaration of the functions etc. There is an example in the docs for providing specifications for legacy functions: