Code Generation Parameter not visible in Data Store Memory Block

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Code Generation Parameter not visible in Data Store Memory Block

ソリューションへジャンプ
3,547件の閲覧回数
srikar_26
Contributor II

Hi,

I am using Data Store Memory block to store and view the data in FreeMaster.
Code Generation parameter is not visible in the block to change the the storage class to volatile.
The code is not generated for the block.
The system target file is: mbd_s32k.tlc

Do I have to make any changes in simulink block.

Please guide me.

Thank you

 

Data Store Memory BlockData Store Memory Block

0 件の賞賛
返信
1 解決策
3,529件の閲覧回数
mariuslucianand
NXP Employee
NXP Employee

Hello @srikar_26 

For a variable to be seen in the FreeMaster directly with his name, it has to be declared  a Signal Object Class as "Exported Global" or "Volatile" if you use it in an interrupt as well. Otherwise, Simulink will declare the variable inside a structure starting with the model's name. 

For that, depending on the Simulink version, you have to the to the Model Data Editor and select the Storage Class.

mariuslucianand_0-1630402670000.png

Hope this helps,

Marius

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
3,530件の閲覧回数
mariuslucianand
NXP Employee
NXP Employee

Hello @srikar_26 

For a variable to be seen in the FreeMaster directly with his name, it has to be declared  a Signal Object Class as "Exported Global" or "Volatile" if you use it in an interrupt as well. Otherwise, Simulink will declare the variable inside a structure starting with the model's name. 

For that, depending on the Simulink version, you have to the to the Model Data Editor and select the Storage Class.

mariuslucianand_0-1630402670000.png

Hope this helps,

Marius

0 件の賞賛
返信