MATLAB Answers

0

"mat" file not getting logged-parrot mini drone

Asked by Jasvir Virdi on 17 Feb 2019
Latest activity Answered by Jasvir Virdi on 18 Feb 2019
Hello,
I configured the parrot mini drone with MATLAB R2018b. The drone operates correctly but when I try to get the MAT file after stopping the program, it displays the following error, "MAT-File not found on mini drone. Ensure that MAT-File logging is enabled and build the model again. Note that MAT-File logging is only available if you have Simulink Coder."
I have already checked that I have a liscenced version of Simulink Coder and also, before uploading my flight control system on the drone, I run "set_param('FlightControlSystem','MatFileLogging','on')" command. However, still, the MAT file is not logged. The "Flight log" file is getting created.
Please could you help on this issue.

  0 Comments

Sign in to comment.

1 Answer

Answer by Jasvir Virdi on 18 Feb 2019
 Accepted Answer

I got it. I was earlier using Visual Studio 2017 and hence, I was not able to generate the MAT file. I changed the compiler to MinGW one and it worked.

  0 Comments

Sign in to comment.