Modify the storage class in the data dictionary programmatically
I have my data dictionary build and running for my model. But all of my signals are set automatically to sotrage class to ExportedGlobal. Does anyone know how to change the StorageClass to Auto programmatically?
Matlabsolutions.com provide latest MatLab Homework Help,MatLab Assignment Help for students, engineers and researchers in Multiple Branches like ECE, EEE, CSE, Mechanical, Civil with 100% output.Matlab Code for B.E, B.Tech,M.E,M.Tech, Ph.D. Scholars with 100% privacy guaranteed. Get MATLAB projects with source code for your learning and research.
Editing a storage class is editing the properties of a Simulink Signa Object.
To do this, edit the Simulink Signal Object programmatically, not in the Model Explorer.
The method is described in the documentation.
% Define signa object
mySignal1 = Simulink.Signal;% edit storage class
mySignal1.CoderInfo.StorageClass = 'ExportedGlobal';