Error while building code for RTI1401

367 views
Skip to first unread message

DARSHAN GAD

unread,
Aug 6, 2019, 7:58:35 AM8/6/19
to DSpace Technical Support
Hello,

I am setting up dSpcae 2018B with Matlab 2017B for RPS design using MicroAutobox II.

While generating code I get the below error.

First I used to get the below error.

  • The argument for an [] operation must be a repeated scope symbol, a vector, or a matrix

Then I tried upgrading Control desk 6.4 to 6.4P1. After that I started to get the below error.

The call to rti1401_make_rtw_hook, during the after_tlc hook generated the following error: *** Stopped RTI build procedure


I need support to resolve this error.

Thank you.

Regards,
Darshan

DARSHAN GAD

unread,
Aug 6, 2019, 8:18:15 AM8/6/19
to DSpace Technical Support
This is the exact error message i get.

### Generating TLC interface API. Error: File: C:\dSpace_program\dSPACE RCPHIL 2018-B\MATLAB\DSRTSU\\tlc\dsrtsu_mdltrcgenlib.tlc Line: 1402 Column: 33 The argument for an [] operation must be a repeated scope symbol, a vector, or a matrix Main program: ==> [00] C:\dSpace_program\dSPACE RCPHIL 2018-B\MATLAB\DSRTSU\\tlc\dsrtsu_mdltrcgenlib.tlc:FcnGenTrcHdrAndSrcFile(1402) [01] C:\dSpace_program\dSPACE RCPHIL 2018-B\MATLAB\DSRTSU\\tlc\dsrtsu_mdltrcgenlib.tlc:RTILibGlobalTRCFileAccessPointersGenerate(1010) [02] C:\dSpace_program\dSPACE RCPHIL 2018-B\MATLAB\RTI\RTI\TLC\rti_main.tlc:<NONE>(362) Error: File: C:\dSpace_program\dSPACE RCPHIL 2018-B\MATLAB\DSRTSU\\tlc\dsrtsu_mdltrcgenlib.tlc Line: 1442 Column: 33 The argument for an [] operation must be a repeated scope symbol, a vector, or a matrix Main program: ==> [00] C:\dSpace_program\dSPACE RCPHIL 2018-B\MATLAB\DSRTSU\\tlc\dsrtsu_mdltrcgenlib.tlc:FcnGenTrcHdrAndSrcFile(1442) [01] C:\dSpace_program\dSPACE RCPHIL 2018-B\MATLAB\DSRTSU\\tlc\dsrtsu_mdltrcgenlib.tlc:RTILibGlobalTRCFileAccessPointersGenerate(1010) [02] C:\dSpace_program\dSPACE RCPHIL 2018-B\MATLAB\RTI\RTI\TLC\rti_main.tlc:<NONE>(362) *** Generating file MABX_Test_rti.c Error: File: C:\dSpace_program\dSPACE RCPHIL 2018-B\MATLAB\RTI\RTI\TLC\rti_modelrtic.tlc Line: 272 Column: 57 The argument for an [] operation must be a repeated scope symbol, a vector, or a matrix Main program: ==> [00] C:\dSpace_program\dSPACE RCPHIL 2018-B\MATLAB\RTI\RTI\TLC\rti_modelrtic.tlc:<NONE>(272) *** Generating file MABX_Test_rti.mk *** Generating Variable Description File MABX_Test.trc . ------------------------------------------------------------------------------- NOTE: The following option in the Configuration Parameters dialog has been used: Optimization: "Conditional input branch execution" On This leads to code optimization in which blocks are not computed if their outputs are not required in the simulation step, for example, if their output values are used as input for a Switch block and the Switch currently routes another signal. When the corresponding output signals are displayed in ControlDesk, their values are static. To ensure that the blocks are computed, turn off the "Conditional input branch execution" option and rebuild the model. ------------------------------------------------------------------------------- Error: File: C:\dSpace_program\dSPACE RCPHIL 2018-B\MATLAB\DSRTSU\\tlc\dsrtsu_mdltrcgen_groups.tlc Line: 58 Column: 60 The argument for an [] operation must be a repeated scope symbol, a vector, or a matrix Main program: ==> [00] C:\dSpace_program\dSPACE RCPHIL 2018-B\MATLAB\DSRTSU\\tlc\dsrtsu_mdltrcgen_groups.tlc:DSRTSUGenTrcFileHeader(58) [01] C:\dSpace_program\dSPACE RCPHIL 2018-B\MATLAB\DSRTSU\\tlc\dsrtsu_mdltrcgen_main.tlc:<NONE>(41) *** Generating template: User-Code File MABX_Test_usr.c *** Generating template: User Makefile MABX_Test_usr.mk
---------------------------------------------------------------------- Error: Errors occurred - aborting ---------------------------------------------------------------------- *** Stopped RTI build procedure for model: MABX_Test. ----------------------------------------------------------------------
Error: Errors occurred - aborting


Tim Donohue

unread,
Aug 6, 2019, 9:54:17 AM8/6/19
to DARSHAN GAD, DSpace Technical Support
Hello,

It sounds like you are looking for support on dspace.com (dSPACE) products.  This mailing list supports a different DSpace project, dspace.org, which is an open source repository system.

I'd recommend going to https://www.dspace.com/ to look for support options.

Tim

From: dspac...@googlegroups.com <dspac...@googlegroups.com> on behalf of DARSHAN GAD <darsh...@gmail.com>
Sent: Tuesday, August 6, 2019 6:57 AM
To: DSpace Technical Support <dspac...@googlegroups.com>
Subject: [dspace-tech] Error while building code for RTI1401
 
--
All messages to this mailing list should adhere to the DuraSpace Code of Conduct: https://duraspace.org/about/policies/code-of-conduct/
---
You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dspace-tech...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/5c4289ed-c1df-4402-8674-74e065240915%40googlegroups.com.

DARSHAN GAD

unread,
Aug 6, 2019, 9:58:24 AM8/6/19
to DSpace Technical Support
oops. Sorry. Thank you for pointing it out.
To unsubscribe from this group and stop receiving emails from it, send an email to dspac...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages