MATLAB Answers


How to load data from a .mat file in a Simulink block for the generation of a C code?

Asked by Harsh Singh on 14 Feb 2019 at 11:17
  • I have a Stateflow block inside the Simulink model.
  • This Stateflow block is using look-up tables for which the data is required from an already created .mat file.
  • I am not sure of how to load this data in the model such that it does not throw an error while building a C code.


Sign in to comment.

0 Answers