Original Attachment has been moved to: Problem-in-SIL-Mode.zip
When I installed a compiler, I solved my problem.
Hi yang yanhui,
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.
Motor Control Class: Software-in-the-Loop (SIL)
Hope this helps!
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!
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?
I try your model, then
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!
I try it , the same result.
I will find an other computer to try again? But will take same time
Before going to other computer can you please run this command into your Matlab console and tell us what returns ?
I have a feeling that your Matlab is not configured to support the Microsoft Windows SDK 7.1 compiler.
Yes,you are right!
When solve it ,I will let you know!
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? - MATLAB Answers - MA…
Retrieving data ...