Error while compiling SIMULINK code for dSpace ControlDesk..

156 views (last 30 days)
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 Comments
Abdullah Sharaf
Abdullah Sharaf on 9 Dec 2016
Hallo , did you solve this problem ? becuase i am facing the same problem

Sign in to comment.

Answers (5)

Hani
Hani on 6 Jul 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 Comments
brandone Gandjouon Kamgang
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
songul senyurt on 15 Mar 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.

Sign in to comment.


Hildo
Hildo on 18 Aug 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).

Abdullah Sharaf
Abdullah Sharaf on 12 Dec 2016
Hi , I am facing the same problem , does anybody know the solution

Teng-chi Tang
Teng-chi Tang on 26 Sep 2018
I solve the problem by clicking on GO offline button

Andres de Jesus Encarnacion Rivera Ballinas
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 Comments
hogehoge
hogehoge on 12 May 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
RUBEENA A A on 22 Jun 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: Can't read makefile 'inverter.mk' (warning)
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

Sign in to comment.

Categories

Find more on Deployment, Integration, and Supported Hardware in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!