Problem in SIL Mode

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
1,840件の閲覧回数
yangyanhui
Contributor II

186763_186763.pngpastedImage_1.png

 

186776_186776.pngpastedImage_2.png

186777_186777.pngpastedImage_3.png

Original Attachment has been moved to: Problem-in-SIL-Mode.zip

1 解決策
1,546件の閲覧回数
yangyanhui
Contributor II

Hi Daniel,

When I installed a compiler, I solved my problem. 

Thank you!

元の投稿で解決策を見る

0 件の賞賛
10 返答(返信)
1,546件の閲覧回数
dumitru-daniel_
NXP Employee
NXP Employee

Hi yangyanhui‌,

I do not know if this a pure coincidence or not - but i just uploaded a video showing step by step how to configure SIL. 

Please have a look here and let us know if you fixed the issue.

Video Link : 7844 

Hope this helps!

Daniel

0 件の賞賛
1,546件の閲覧回数
yangyanhui
Contributor II

Hi Daniel,

I'm sorry that it didn't solve my problem. 

Errors occur only when I use partial motor control functions.

Detailed information is described in the attachment.

 

Thank you very much!

 

 

0 件の賞賛
1,546件の閲覧回数
dumitru-daniel_
NXP Employee
NXP Employee

Hi yangyanhui‌,

I played a bit with your model. First thing i noticed is you have different setting for solver between test_SIL_TOP and test_test_SIL models.

Unfortunately, i can't run your original model on my side since i do not have license for the Simscape Power System to use the 3 phase side generator - but i changed a bit the harness model to use standard Simulink blocks and it works fine.

Please find attached the models. Can you please try it on your side and confirm these ones works?

Best regards,
Daniel

1.JPG

2.JPG

0 件の賞賛
1,546件の閲覧回数
yangyanhui
Contributor II

Hi Daniel,

I try your model, then

pastedImage_1.png

       Did my computer configuration affect the results ?
0 件の賞賛
1,546件の閲覧回数
dumitru-daniel_
NXP Employee
NXP Employee

Hi yangyanhui‌,

Please delete the slprj folder from my orginal zip file and retest. Usually, if the files are generated the Matlab will cache them without regeneration. This might cause issues since other paths are used.

Hope it helps!

Daniel

0 件の賞賛
1,546件の閲覧回数
yangyanhui
Contributor II

Hi Daniel,

  I try it , the same result. 

I will find an other computer to try again? But will take same time

0 件の賞賛
1,546件の閲覧回数
dumitru-daniel_
NXP Employee
NXP Employee

Before going to other computer can you please run this command into your Matlab console and tell us what returns ?

mex -setup

I have a feeling that your Matlab is not configured to support the Microsoft Windows SDK 7.1 compiler.

Best regards,
Daniel

0 件の賞賛
1,546件の閲覧回数
yangyanhui
Contributor II

Hi Daniel,

Yes,you are right!

pastedImage_1.png

When solve it ,I will let you know!

Thank you very much!

0 件の賞賛
1,546件の閲覧回数
dumitru-daniel_
NXP Employee
NXP Employee

Please have a look here in case you get into troubles: Why does the SDK 7.1 installation fail with an "Installation Failed" message on my Windows system? -... 

Hope this helps!

Daniel

0 件の賞賛
1,547件の閲覧回数
yangyanhui
Contributor II

Hi Daniel,

When I installed a compiler, I solved my problem. 

Thank you!

0 件の賞賛