Declare lookup table parameters defined in mfile as #define in header file in code generation in matlab 2016a
3 views (last 30 days)
Show older comments
Hi Folks,
I wanted to declare all the constants defined in my mfile as #define in particular header file in code generation. For this I used Simulink.Parameter functionality of matlab and defined Storage class as 'Define' and provided header file name as 'abc.h'. It worked really fine and I got my desired results. However for doing the same with lookup table I was unable to do so as for it Simulink.LookupTable functionality is required which is supported in matlab 2017a.
However, I work on matlab 2016a which doesnt supports this functionality and I can not upgrade to 2017a.
Hence, please provide me a solution or workaround so that I can get all my lookuptable parameters defined in header file in code generation using matlab 2016a only (like by using simulink.parameter, or something else)
Your help will be really appreciated.
0 Comments
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!