Error while compiling SIMULINK code for dSpace ControlDesk..

조회 수: 158 (최근 30일)
Vishwanathan
Vishwanathan 2013년 2월 11일
댓글: RUBEENA A A 2022년 6월 22일
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
Vishwanathan
Vishwanathan 2013년 2월 11일
I have contacted them. Thanks !
Vishwa.
Abdullah Sharaf
Abdullah Sharaf 2016년 12월 9일
Hallo , did you solve this problem ? becuase i am facing the same problem

댓글을 달려면 로그인하십시오.

답변 (5개)

Hani
Hani 2013년 7월 6일
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
brandone Gandjouon Kamgang
brandone Gandjouon Kamgang 2020년 12월 14일
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 2021년 3월 15일
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
Hildo 2015년 8월 18일
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 2016년 12월 12일
Hi , I am facing the same problem , does anybody know the solution

Teng-chi Tang
Teng-chi Tang 2018년 9월 26일
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
hogehoge
hogehoge 2022년 5월 12일
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 2022년 6월 22일
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

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Deployment, Integration, and Supported Hardware에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by