I encounter a memory leak warning when i simulate my simulink model from a GA optimization code which iteratively simulate my model
Here’s the warning message :
Warning: Internal warning: A JITEngine loaded for block simulation cannot be freed due to non-zero reference count. It is usually caused by
unpaired calls to a block’s "setupRuntimeResources" and "cleanupRuntimeResources" methods.
> In optimising2_3 (line 209)
In Run_fuzzyGA_Tunning_R1 (line 79)Here’s the warning message :
Warning: Internal warning: A JITEngine loaded for block simulation cannot be freed due to non-zero reference count. It is usually caused by
unpaired calls to a block’s "setupRuntimeResources" and "cleanupRuntimeResources" methods.
> In optimising2_3 (line 209)
In Run_fuzzyGA_Tunning_R1 (line 79) Here’s the warning message :
Warning: Internal warning: A JITEngine loaded for block simulation cannot be freed due to non-zero reference count. It is usually caused by
unpaired calls to a block’s "setupRuntimeResources" and "cleanupRuntimeResources" methods.
> In optimising2_3 (line 209)
In Run_fuzzyGA_Tunning_R1 (line 79) simulink, setupruntimeresources, cleanupruntimeresources, jitengine MATLAB Answers — New Questions