Error building rapid accelerator target ('cmd' is not recognized as an internal or external command)

So when I run my Simulink model in rapid accelerator mode I get the following error:
=== Simulation (Elapsed: 33 sec) ===
### Generating code for Physical Networks associated with solver block 'three_phase_rapid_charger_v4/Solver Configuration' ...
done.
### Building the rapid accelerator target for model: three_phase_rapid_charger_v4
Microsoft (R) Program Maintenance Utility Version 14.32.31328.0
Copyright (C) Microsoft Corporation. All rights reserved.
'cmd' is not recognized as an internal or external command,
operable program or batch file.
NMAKE : fatal error U1077: 'cmd' : return code '0x1'
Stop.
The make command returned an error of 2
### Build procedure for three_phase_rapid_charger_v4 aborted due to an error.
Top model rapid accelerator targets built:
Model Action Rebuild Reason
========================================================================================
three_phase_rapid_charger_v4 Failed Code generation information file does not exist.
0 of 1 models built (0 models already up to date)
Build duration: 0h 0m 26.863s
Error:Unable to build a standalone executable to simulate the model 'three_phase_rapid_charger_v4' in rapid accelerator mode.
Caused by:
Error(s) encountered while building "three_phase_rapid_charger_v4"
=== Simulation (Elapsed: 1:39 min) ===
### Simulink cache artifacts for 'three_phase_rapid_charger_v4' were created in 'C:\Users\mabdu\Desktop\everything\abdur-rahman\sdstate\summer-22\programming\simulink\three_phase_rapid_charger_v4.slxc'.
Warning:At time 0.000010, one or more assertions are triggered. State of charge must be greater than or equal to zero. The assertion comes from:
Block path: three_phase_rapid_charger_v4/Battery (Table-Based)1
Assert location:
o (location information is protected)
Warning:At time 4.114440, one or more assertions are triggered. State of charge must be less than or equal to 1. The assertion comes from:
Block path: three_phase_rapid_charger_v4/Battery (Table-Based)1
Assert location:
o (location information is protected)
=== Simulation (Elapsed: 15 sec) ===
### Generating code for Physical Networks associated with solver block 'three_phase_rapid_charger_v4/Solver Configuration' ...
done.
### Building the rapid accelerator target for model: three_phase_rapid_charger_v4
Microsoft (R) Program Maintenance Utility Version 14.32.31328.0
Copyright (C) Microsoft Corporation. All rights reserved.
'cmd' is not recognized as an internal or external command,
operable program or batch file.
NMAKE : fatal error U1077: 'cmd' : return code '0x1'
Stop.
The make command returned an error of 2
### Build procedure for three_phase_rapid_charger_v4 aborted due to an error.
Top model rapid accelerator targets built:
Model Action Rebuild Reason
========================================================================================
three_phase_rapid_charger_v4 Failed Code generation information file does not exist.
0 of 1 models built (0 models already up to date)
Build duration: 0h 0m 14.899s
Error:Unable to build a standalone executable to simulate the model 'three_phase_rapid_charger_v4' in rapid accelerator mode.
Caused by:
Error(s) encountered while building "three_phase_rapid_charger_v4"

Plus de réponses (0)

Catégories

Community Treasure Hunt

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

Start Hunting!

Translated by