MATLAB: How to save global variables in MATLAB Function (more than 2) with one Data Store Memory

MATLABsave variables to data story memorysimulink

I have 2 global variables in Matalb Function, how to save them with Data Store Memory ?

Best Answer

This documentation shows how to do this: How to Use Data Store Memory Blocks