Hi Daniel,
When I installed a compiler, I solved my problem.
Thank you!
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.
Hope this helps!
Daniel
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!
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
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
Hi Daniel,
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 ?
mex -setup
I have a feeling that your Matlab is not configured to support the Microsoft Windows SDK 7.1 compiler.
Best regards,
Daniel
Hi Daniel,
Yes,you are right!
When solve it ,I will let you know!
Thank you very much!
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
Hi Daniel,
When I installed a compiler, I solved my problem.
Thank you!