Hello,
I have already installed the MBD Toolbox of S12ZVM. However, when I wanted to run the example Simulink model S12ZVM_FOC_Sensorless.slx, I couldn't drive my BLDC motor. After I clicked on Build Model in Simulink, it gave me an error message as shown in the picture below. Could you please help me find out the reason for the "undefined function" issue?
Thank you very much!
Hello Daniel,
I have received another error message (Build procedure for model: 'S12ZVM_FOC_Sensorless' aborted due to an error.) after I clicked on build model button. In the diagnostic viewer this error occured in the code generation part, please see it below.
Could you please help me find out the reason why an error occurs with the parameter's values?
Thank you very much for your help!
Hi Ozen,
We need to see the error. What you have provided does not cause error - those are just warnings.
Please follow the steps shown here: https://community.nxp.com/message/985284?commentID=985284%23comment-985284#comment-902087
What is the root cause ?
Hope this helps!
Daniel
Hello Daniel,
Thank you very much for your reply. I have checked the link that you provided me, however, when I load the build_exception.mat file, I do not see root causes for the error, please see the picture below. And even though the _rtw file is populated, it gives a build error, and unfortunately I could not understand the reason behind.
Would you have any other recommendations for my situation?
Kind regards,
Ozen
Hi ozenyavas,
Please refer to this fix: https://community.nxp.com/thread/451909#comment-1008959
Hope this will help you!
Thank you!
Daniel
Many thanks Daniel, it helped!