MATLAB Answers

Error while compiling SIMULINK code for dSpace ControlDesk..

88 views (last 30 days)
Vishwanathan
Vishwanathan on 11 Feb 2013
Commented: cathrine saleeb on 9 Jan 2019
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

Kaustubha Govind
Kaustubha Govind on 11 Feb 2013
Vishwa: You might have better luck contacting dSPACE support/forums about this issue.
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 (4)

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?

  3 Comments

Vishwanathan
Vishwanathan on 8 Jul 2013
Hello Hani,
I think it was a compatibility issue, I do not remember exactly how I solved the problem. I installed ControlDesk 7.0 with Matlab R2010a (32 bit).
Vishwa
cathrine saleeb
cathrine saleeb on 9 Jan 2019
please can you tell me how you solved that problem??
i am facing the same 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).

  0 Comments

Sign in to comment.


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

  0 Comments

Sign in to comment.


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

  0 Comments

Sign in to comment.

Sign in to answer this question.