The error message suggests that your system is not able to recognize the "java -jar" command that is being run as part of the download step. This error typically occurs when you do not have a Java Development Kit (JDK) installed on your machine (Win or Mac). So, to resolve this issue, search on the internet for a free version of JDK and install it. Then, repeat the build process for your Simulink model and check if the build and download completes successfully.
Why do I get an error "The system cannot find the file specified" during the build process of my Simulink model for the VEX Microcontroller?
3 ビュー (過去 30 日間)
古いコメントを表示
MathWorks Student Competitions Team
2014 年 10 月 3 日
回答済み: MathWorks Student Competitions Team
2014 年 10 月 3 日
I have been able to install Simulink and the VEX Support Package on my Mac successfully. When I build a Simulink model for my VEX target, I see the following error at the bottom of the build verbose:
> "### Invoking postbuild tool "Download" ..."
> process_begin: CreateProcess(NULL, java -jar C:/MATLAB/SupportPackages/R2014a/PROS/firmware/uniflash.jar vex ../defaultprogram.bin, ...) failed.
> make (e=2): The system cannot find the file specified.
> gmake: *** [download] Error 2
Why is the "Download" step failing? How do I fix this issue?
0 件のコメント
回答 (1 件)
参考
カテゴリ
Help Center および File Exchange で Introduction to Installation and Licensing についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!