"VCRUNTIME140.dll and/or VCRUNTIME140_1.dll was not found" while writing firmware to SD card for Raspberry Pi Hardware Support Package with Windows platform.

32 views (last 30 days)
When I try to write the MathWorks Raspbian image to the SD card as part of the Hardware Setup in Windows using R2021b, the following error occurs: 
"The code execution cannot proceed because VCRUNTIME140_1.dll was not found. Reinstalling the program may fix this problem."
Is there a workaround for this issue? How can I get my Raspberry Pi set up to work with MathWorks solutions?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 21 Jul 2021
This is a known issue that occurs when using the MATLAB/Simulink Support Package for Raspberry Pi Hardware in R2021b with Windows. To work around the issue, manually copy the missing DLLs from the MATLAB installation folder to System32 folder on Windows.
Perform the below steps to resolve the error: 
1. Go to the path "C:\Program Files\MATLAB\R2021b\bin\win64".
2. Copy the missing DLLs VCRUNTIME140.dll and/or VCRUNTIME140_1.dll from this folder to "C:\Windows\System32".

More Answers (0)

Categories

Find more on MATLAB Support Package for Raspberry Pi Hardware in Help Center and File Exchange

Tags

No tags entered yet.

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!