Defining signal attributes in Data Storage Memory

I have global variables in my Matlab code that I would like you use a Data Storage Memory block to use them in my simulation. Does anyone know how to define the Signal Attributes? What I am having issues with is how you would define a known 3x1 matrix. I am new to Simulink so I am unsure of how this works properly.

Answers (1)

You should be able to use the 'Data Store Memory' block in Simulink for this use-case. There is a separate tab where you can specify the Signal Attributes like Initial Value, Dimensions, Data Type etc. You can refer to the following documentation link:

Asked:

m13
on 15 Jun 2017

Answered:

on 22 Jun 2017

Community Treasure Hunt

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

Start Hunting!