Generated code is not conforming with Simulation?
1 次查看(过去 30 天)
显示 更早的评论
Hi, I am using a interpolation prelookup table in my model. from my stateflow chart i am calling the interpolation block as a simulink function.. it worked well and the simulation was perfect. when i generated C code and use it in the controller. i found that the interpolatoin output is always zero in the generated c code . the input going to interpolation is perfect ( i checked it)..
1. while the simulation is perfect, why there is a problem in generated code?
any help would be really appreciated......
thanks vijith
2 个评论
TAB
2013-3-12
Can you post a screen shot of your implementation and relevant part of generated code here ?
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Simulink Functions 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!