I get a memory allocation error when try to save my simulink model. How can i fix it?

23 views (last 30 days)
My simulink model was working complitly fine. But suddenly i get this memory allocation error when i try to save my model! and also when i try to build the model i get another error "Undefined function 'sflink2chart' for input arguments of type 'double' " would you please help me about these errors.

Answers (2)

Subin Kuttappan Stellal Mary
Refer this link posted by MathWorks Technical Support team which addresses the 'memory allocation error'
Dusan on 4 Dec 2017
The message "Undefined function 'sflink2chart' for input arguments of type 'double' is also a clue. This function is not defined perhaps because it is in an S function not on the path or poorly defined matlab function. I suspect if you track down this function you will eliminate both errors.

Sign in to comment.

Mukhtiar Ahmad
Mukhtiar Ahmad on 8 Dec 2018
my simulation stop after passing of 0.442 second without sowing any error, what i do?i need help in this regard.


Find more on Simulink Environment Customization in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by