Hello @Tramorn
Usually, Simulink generates some signals as members for some global structures, which makes the process of identifying that variable in FreeMaster complicated sometimes. For datastore memory, we found that changing the storage type as exportedGlobal or volatile (take care with this qualifier and use it only for variables whose value is changing inside interrupts) will declare the variables global, having the same name as the one typed in data store memory, making variable easier to be found in FreeMaster.
Typically, ith "Auto" option you will find the variable name as <name_of_model>.<variable_name> but this is not a rule.
Only changing the storage class of one variable should not affect the generated program execution, so it remains a question why the code is not being executed anymore.
How do you change the storage class?
The step I would try here is to compare the generated code before and after changing the storage class and see the difference, or just the <name_of_model>.c file. If this does not help, can you share an example model with us?
Regards,
Marius