Loading a 3D lookup table into Simulink Coder compiled code
Show older comments
I am using Simulink Coder to generate executable code of a Simulink Model.
Within the model there is a 3D lookup table that is being used for control. In the execution of an optimization process, during each iteration of the process, I would like load a new 3D table into the same executable model code that has been generated by Simulink Coder.
Is it possible to make the executable code read or look for a .mat or other filetype before it executes in each iteration?
I have read through this post: http://www.mathworks.com/matlabcentral/answers/19524-variable-table-inputs-in-simulink-coder
but I found that the Simulink.Parameter objects can only be 2D. Please let me know if I am mistaken and this is the method I should pursue (any extra advice regarding this method would be appreciated too).
Thanks!
Answers (0)
Categories
Find more on Simulink Coder in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!