Error while compiling SIMULINK code for dSpace ControlDesk..
83 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hello,
I have a very simple SIMULINK code which I am trying to compile for dSpace Controldesk 7.3 and the hardware is MicroAutoBox DS1401. Whenever I try to compile the code i get this error.
----------------------------------------------------------------------
Starting build procedure with RTI 6.9 (RTI1401, 02-May-2012)
Model: "CAN_Test" (C:\Users\WZ4SY2\Desktop\Simulink Code for CAN testing\CAN_Test.mdl)
----------------------------------------------------------------------
*** Using configuration set : "Configuration"
*** Working directory : "C:\Users\WZ4SY2\Desktop\Simulink Code for CAN testing"
*** Initializing code generation
### Starting Real-Time Workshop build procedure for model: CAN_Test
### Generating code into build directory: C:\Users\WZ4SY2\Desktop\Simulink Code for CAN testing\CAN_Test_rti1401
*** Optional User System Description File can_test_usr.sdf not available
### Invoking Target Language Compiler on CAN_Test.rtw
### Using System Target File: C:\dSPACE RCPHIL 7.3\matlab\rti1401\tlc\rti1401.tlc
.
### Loading TLC function libraries
....
### Initial pass through model to cache user defined code
...
*** Postprocessing RTI blocks
.
*** Starting I/O block checking
*** Passed I/O block checking
### Caching model source code
............................
### Writing header file CAN_Test.h
### Writing header file CAN_Test_types.h
.
### Writing source file CAN_Test.c
### Writing header file rtwtypes.h
### Writing header file CAN_Test_private.h
.
### Writing header file rtmodel.h
### Writing source file CAN_Test_data.c
### Writing header file rt_nonfinite.h
### Writing source file rt_nonfinite.c
.
### Writing header file rtGetInf.h
### Writing source file rtGetInf.c
### Writing header file rtGetNaN.h
.
### Writing source file rtGetNaN.c
### TLC code generation complete.
### Generating TLC interface API.
...
*** Generating file CAN_Test_rti.c
*** Generating file CAN_Test_rti.mk
*** Generating Variable Description File CAN_Test.trc
..
*** Found User-Code File CAN_Test_usr.c from 09-Feb-2013 17:59:36
*** Found User Makefile CAN_Test_usr.mk from 09-Feb-2013 17:59:37
*** Optional User Variable Description File CAN_Test_usr.trc not available
### Invoking Real-Time Workshop build custom CodeGenAfterTLC hook
.
### Processing Template Makefile: C:\dSPACE RCPHIL 7.3\matlab\rti1401\m\rti1401.tmf
### CAN_Test.mk which is generated from C:\dSPACE RCPHIL 7.3\matlab\rti1401\m\rti1401.tmf is up to date
### Building CAN_Test: dsmake -f CAN_Test.mk GENERATE_REPORT=0 EXTMODE_STATIC_ALLOC=0 TMW_EXTMODE_TESTING=0 EXTMODE_STATIC_ALLOC_SIZE=1000000 EXTMODE_TRANSPORT=0
'dsmake' is not recognized as an internal or external command,
operable program or batch file.
----------------------------------------------------------------------
*** Errors occurred during make process.
*** Inspect MATLAB Command Window for details.
*** Aborting RTI build procedure for model CAN_Test.
----------------------------------------------------------------------
*** Stopped RTI build procedure for model: CAN_Test.
----------------------------------------------------------------------
The error is due to this : 'dsmake' is not recognized as an internal or external command, operable program or batch file.
It would be great if someone could guide me in this issue. I use Windows 7 32bit and MATLAB R2010a 32 bit and dSpace Controldesk 7.3
Vishwa
3 comentarios
Abdullah Sharaf
el 9 de Dic. de 2016
Hallo , did you solve this problem ? becuase i am facing the same problem
Respuestas (6)
Hani
el 6 de Jul. de 2013
hi,
I have got the same problem as you mentioned
* Errors occurred during make process.
* Inspect MATLAB Command Window for details.
* Aborting RTI build procedure for model
can you help me with it?
5 comentarios
brandone Gandjouon Kamgang
el 14 de Dic. de 2020
Hello HV,
How did solved the Problem, i face exactly the same Problem and i use dspace 2020a Version 7.2 and Matlab 2018b.
please help
songul senyurt
el 15 de Mzo. de 2021
Hello,
I am also facing with same problem with Control Desk 2018b and Matlab 2018b. Could you please tell us how to solve this problem.
Hildo
el 18 de Ag. de 2015
I started to use a dSpace 1130 this week and had the same problem. I solve it reducing the sampling rate of the solver (incresing the step size).
0 comentarios
Abdullah Sharaf
el 12 de Dic. de 2016
Hi , I am facing the same problem , does anybody know the solution
0 comentarios
Teng-chi Tang
el 26 de Sept. de 2018
I solve the problem by clicking on GO offline button
0 comentarios
Andres de Jesus Encarnacion Rivera Ballinas
el 16 de Mzo. de 2022
I get this problem when I trying to create the .sdf file in Matlab-simulink R2017b for dSpace Controldesk 6.3 to have a PWM output
with dSpace MicroLabBox 1202 hardware
Starting build procedure with RTI 7.10p3 (RTI1202, 23-Nov-2018) Model: "pruebamotorfuncional" (C:\Users\LAB-BOX\Desktop\Francisco\Pruebas Dspace\pruebamotorfuncional.slx) ---------------------------------------------------------------------- *** Using configuration set : "Configuration" *** Working directory : "C:\Users\LAB-BOX\Desktop\Francisco"
RTIRPCU - RTI Platform Support To use RTIRPCU please select a suitable RTI platform support first. Suitable RTI platform support is - RTI1005 - RTI1007 - RTI1401 Select the RTI platform support by using the RTI<xxxx> command. For example, to change to RTI1401 (platform MicroAutoBox) type at the MATLAB prompt: >> rti1401
------------------------------------------------------------ RTI Build Error RTIRPCU - RTI Platform Support To use RTIRPCU please select a suitable RTI platform support first. Suitable RTI platform support is - RTI1005 - RTI1007 - RTI1401 Select the RTI platform support by using the RTI<xxxx> command. For example, to change to RTI1401 (platform MicroAutoBox) type at the MATLAB prompt: >> rti1401 ------------------------------------------------------------ *** RTI Build detected errors in model configuration. *** Stopped RTI build procedure for model: pruebamotorfuncional. ----------------------------------------------------------------------
The call to rti1202_make_rtw_hook, during the entry hook generated the following error: *** Stopped RTI build procedure The build process will terminate as a result.
Caused by:
- *** Stopped RTI build procedure
2 comentarios
hogehoge
el 12 de Mayo de 2022
According to the error message, you should select RTI1005 or RTI1007 or RTI1401 instead of RTI1202.
Please try switching suitable RTI<xxxxx>.
RUBEENA A A
el 22 de Jun. de 2022
Hello Sir, I am Mtech student. Dspace is used as controller for my project. While building the model in matlab an error has occured, which is mentioned by you. Error is "
OPUS MAKE: Nothing to makefile . stop.
....................................................................
*** Errors occurred during make process.
***Inspect MATLAB Command Window for details.
***Aborting RTI build proedure for model . inverter
.....................................................................................''
How can you rectify the error.
Sir Please help me to solve this.
Can you please reply to this as soon as possible
礼强
el 20 de En. de 2025 a las 9:05
Hello! I met the same problem.
----------------------------------------------------------------------
Starting build procedure with RTI 7.8 (RTI1401, 02-May-2017)
Model: "FXLMSANC1C" (C:\ANC Test\FXLMSANC1C.slx)
----------------------------------------------------------------------
*** Using configuration set : "Configuration"
*** Working directory : "C:\Windows\system32"
*** Initializing code generation
### Starting Simulink Coder build procedure for model: FXLMSANC1C
Code Generation 1
Elapsed: 4 sec
### Generating code into build folder: C:\Windows\System32\FXLMSANC1C_rti1401
*** Optional User System Description File fxlmsanc1c_usr.sdf not available
### Invoking Target Language Compiler on FXLMSANC1C.rtw
### Using System Target File: C:\Program Files\dSPACE RCPHIL 2017-A\MATLAB\RTI\RTI1401\TLC\rti1401.tlc
### Loading TLC function libraries
### Initial pass through model to cache user defined code
*** Postprocessing RTI blocks
*** Starting I/O block checking
*** RTI Build: Invoking TLCCheck:
+ rti1401stdaiot1check()... passed.
*** RTI Build: Invoking TLCCheck:
+ rti1401stdaiot1check()... passed.
*** Passed I/O block checking
### Caching model source code
### Writing header file FXLMSANC1C.h
### Writing header file FXLMSANC1C_types.h
### Writing source file FXLMSANC1C.c
### Writing header file rtwtypes.h
### Writing header file multiword_types.h
.
### Writing header file FXLMSANC1C_private.h
### Writing header file rtmodel.h
### Writing source file FXLMSANC1C_data.c
### TLC code generation complete.
### Generating TLC interface API.
*** Generating file FXLMSANC1C_rti.c
.
*** Generating file FXLMSANC1C_rti.mk
*** Generating Variable Description File FXLMSANC1C.trc
*** Found User-Code File FXLMSANC1C_usr.c from 20-一月-2025 11:23:40
*** Found User Makefile FXLMSANC1C_usr.mk from 20-一月-2025 11:23:40
*** Optional User Variable Description File FXLMSANC1C_usr.trc not available
.
### Processing Template Makefile: C:\Program Files\dSPACE RCPHIL 2017-A\MATLAB\RTI\RTI1401\RTI\rti1401.tmf
### FXLMSANC1C.mk which is generated from C:\Program Files\dSPACE RCPHIL 2017-A\MATLAB\RTI\RTI1401\RTI\rti1401.tmf is up to date
### Building FXLMSANC1C: .\FXLMSANC1C.bat
C:\Windows\System32\FXLMSANC1C_rti1401>set MATLAB=C:\Program Files\MATLAB\R2016b
C:\Windows\System32\FXLMSANC1C_rti1401>"C:\Program Files\dSPACE RCPHIL 2017-A\Exe\dsmake.exe" -f FXLMSANC1C.mk EXTMODE_STATIC_ALLOC=0 TMW_EXTMODE_TESTING=0 EXTMODE_STATIC_ALLOC_SIZE=1000000 EXTMODE_TRANSPORT=0 MAT_FILE=0 ISPROTECTINGMODEL=NOTPROTECTING
OPUS MAKE: Can't read makefile 'FXLMSANC1C.mk' (warning).
OPUS MAKE: Nothing to make. Stop.
----------------------------------------------------------------------
*** Errors occurred during make process.
*** Inspect MATLAB Command Window for details.
*** Aborting RTI build procedure for model FXLMSANC1C.
----------------------------------------------------------------------
*** Stopped RTI build procedure for model: FXLMSANC1C.
----------------------------------------------------------------------
*** Errors occurred during make process.
*** Inspect MATLAB Command Window for details.
*** Aborting RTI build procedure for model FXLMSANC1C.
Component:Simulink | Category:Block diagramerror
Do you solve this problem? Could you tell me how to solve this problem?
0 comentarios
Ver también
Categorías
Más información sobre Simulink Coder en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!