Single precision inputs for compiled simulink model
Show older comments
Hi there, I'm using a Matlab-script that compiles a Simulink-model and then executes it within a loop. (script and model structure are attached). The model itself calculates in a non-dynamic matter, meaning it calculates just 1 step per model execution. Because of restrictions in RAM usage in the original case, I need to store variables in single precision.
However, during execution the following error occurs: status = 1 cmdout = Starting model 'StaticModel' @ Fri Dec 22 12:20:18 2016 Error starting model: Data type of matrix variable from MAT-file Input_matrix.mat is not double!
So I'm asking: What need's to be done that a single precision input matrix is accepted in this case?
Thanks in advance.
BTW: I'm using Matlab R2015a
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!