Hi Tejas,
Replace the run-console_Simulink.bat file that Abhishek attached in his answer on 12 April in the Cygwin installation directory and your support package installation directory as well.
You can find the support -package directory where to replace this file by running the below commands in MATLAB command window.
cd(matlabshared.supportpkg.getSupportPackageRoot); cd toolbox\target\supportpackages\px4\lib\etc
After you have replaced the run-console_Simulink.bat in both the locations, run the below command in MATLAB comamnd window and try building the model again.
setenv('MW_PX4_WIN10_BUILDCMD', '')
5 Comments
Direct link to this comment
https://la.mathworks.com/matlabcentral/answers/454706-problem-with-building-of-simulink-model-using-embedded-coder-for-px4-autopilots#comment_691714
Direct link to this comment
https://la.mathworks.com/matlabcentral/answers/454706-problem-with-building-of-simulink-model-using-embedded-coder-for-px4-autopilots#comment_691714
Direct link to this comment
https://la.mathworks.com/matlabcentral/answers/454706-problem-with-building-of-simulink-model-using-embedded-coder-for-px4-autopilots#comment_691783
Direct link to this comment
https://la.mathworks.com/matlabcentral/answers/454706-problem-with-building-of-simulink-model-using-embedded-coder-for-px4-autopilots#comment_691783
Direct link to this comment
https://la.mathworks.com/matlabcentral/answers/454706-problem-with-building-of-simulink-model-using-embedded-coder-for-px4-autopilots#comment_693069
Direct link to this comment
https://la.mathworks.com/matlabcentral/answers/454706-problem-with-building-of-simulink-model-using-embedded-coder-for-px4-autopilots#comment_693069
Direct link to this comment
https://la.mathworks.com/matlabcentral/answers/454706-problem-with-building-of-simulink-model-using-embedded-coder-for-px4-autopilots#comment_693087
Direct link to this comment
https://la.mathworks.com/matlabcentral/answers/454706-problem-with-building-of-simulink-model-using-embedded-coder-for-px4-autopilots#comment_693087
Direct link to this comment
https://la.mathworks.com/matlabcentral/answers/454706-problem-with-building-of-simulink-model-using-embedded-coder-for-px4-autopilots#comment_693093
Direct link to this comment
https://la.mathworks.com/matlabcentral/answers/454706-problem-with-building-of-simulink-model-using-embedded-coder-for-px4-autopilots#comment_693093
Sign in to comment.