The freemaster module fails under MATLAB20B_UPDATE3?

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

The freemaster module fails under MATLAB20B_UPDATE3?

ソリューションへジャンプ
1,354件の閲覧回数
liuqimin
Contributor IV

Hello

   Today I compiled a model with the FREEMASTER module under MATLAB20B_UPDATE3. After the generated'ELF file was imported into FREEMASTER, the set variables could not be found. Is the FREEMASTER module invalid under MATLAB20B_UPDATE3?

   Best Regards!

  Qimin Liu

0 件の賞賛
1 解決策
1,347件の閲覧回数
mariuslucianand
NXP Employee
NXP Employee

Hello @liuqimin ,

I think it is something related to Matlab 2020b. Typically we use a Data Store Memory for Variables that are going to be used in FreeMaster. But for easy access from FreeMaster to the variable address from elf file, we set the storage class of the Data Store Memory either to Volatile or Exported Global. 

The thing is that I don't see that option anymore in the Data Store Memory on R2020b so we have to investigate this with MathWorks.However, in the Data Store Memory documentation, the option "Storage class" seems to be available.  https://www.mathworks.com/help/simulink/slref/datastorememory.html 

mariuslucianand_0-1608063262542.png

Maybe I am missing something... Can you please send me the generated code and the model?

Regards,

Marius

 

元の投稿で解決策を見る

0 件の賞賛
4 返答(返信)
1,348件の閲覧回数
mariuslucianand
NXP Employee
NXP Employee

Hello @liuqimin ,

I think it is something related to Matlab 2020b. Typically we use a Data Store Memory for Variables that are going to be used in FreeMaster. But for easy access from FreeMaster to the variable address from elf file, we set the storage class of the Data Store Memory either to Volatile or Exported Global. 

The thing is that I don't see that option anymore in the Data Store Memory on R2020b so we have to investigate this with MathWorks.However, in the Data Store Memory documentation, the option "Storage class" seems to be available.  https://www.mathworks.com/help/simulink/slref/datastorememory.html 

mariuslucianand_0-1608063262542.png

Maybe I am missing something... Can you please send me the generated code and the model?

Regards,

Marius

 

0 件の賞賛
1,339件の閲覧回数
liuqimin
Contributor IV

Hi  Marius

    This is the model and generated code.

   BRs!

   Qimin

0 件の賞賛
1,313件の閲覧回数
liuqimin
Contributor IV

Hi

    Yes, this is MATLAB2020b's fault. There is no problem with MATLAB2019b.

   Best Regards!

  Qimin Liu

0 件の賞賛
1,308件の閲覧回数
mariuslucianand
NXP Employee
NXP Employee

Hello @liuqimin,

I am glad that you can continue your work in R2019b. We've also seen no errors in the 2020a.

I would not consider this as a fault yet, we have to talk to the engineers from MathWorks first, to see if they can help us with some instruction, related to the Storage class options from Simulink.

Regards,

Marius

0 件の賞賛