Questions tagged [rtw]

14 questions
8
votes
1 answer

Does IE9 RTW support the placeholder attribute on input elements?

A bunch of sites mention support in IE9, but I assume this was something that appeared in the Betas, or RC. It doesn't appear to be supported in IE9 final. Can someone confirm this?
mhildreth
  • 401
  • 1
  • 5
  • 11
5
votes
2 answers

Is there something like a "pre-build" callback function?

I have a Simulink model, the purpose of which is automated code generation. My model uses S-functions (developed by another party), which has hard-coded assumptions about the path. For instance, several external data files are needed, which are…
Rody Oldenhuis
  • 37,726
  • 7
  • 50
  • 96
1
vote
0 answers

Simulink Rapid accelerator mode compiler error Linux CentOS 7.3 undefined reference to `std::__cxx11::basic_string

Currently I am trying to run my Simulink model, built with Matlab 2019b, on a server of my university, which runs on Linux CentOS 7.3.1611. If I run the model in either 'normal', or 'accelerator' mode it is successful. However, if I try to run the…
Nathan
  • 391
  • 1
  • 6
1
vote
1 answer

Change simulink rtwbuild output folder

I'm automating my build process, but I wasn't able to change the model_target_rtw folder to something different. I'm not talking about CodegenFolder, but about the folder that's created inside it during compilation. I'm currently working this around…
xvan
  • 4,554
  • 1
  • 22
  • 37
1
vote
2 answers

Rational Test Workbench - Mobile Testing - Variable RTW_Mobile_App_Selection doesn't work

I’m using Rational Test Workbench (RTW) for automatization of my mobile tests. I want to test only the newest version of my app, so I'm using the test variable RTW_Mobile_App_Selection within my tests. I'm initializing it with the right value…
mnie
  • 53
  • 7
0
votes
1 answer

Simulink Getting CompiledPortDataTypes from within a PostCodeGenCommand

I'm tying to get a list of the compiled port data-types from within a function being called by PostCodeGenCommand during rtw build. get_param(outportlist,'CompiledPortDataTypes')is returning empty cell arrays as though the model were not compiled.…
0
votes
1 answer

Embedded Coder not recognizing tokens in default code generation template

I recently obtained a license to use Embedded Coder with an existing Simulink model that we have developed. In attempting to generate C code for the first time from the model, I am working through several errors. At first, we had no code…
nabingham
  • 61
  • 1
  • 9
0
votes
1 answer

Matlab crash when running user defined blocks in simulink

I created a user defined block with single input and single output in simulink and it works perfectly fine. But when i create a user defined block without an input, run this block in a simulink model, MATLAB Crashes. Below is the code for the C…
Be_bro
  • 15
  • 1
  • 5
0
votes
1 answer

Create customized S function blocks and also generate C code using real time workshop for the same

I want to create customized S function blocks and also generate C code for them using real time workshop. I could not quite find the correct documents for this task. Could someone please help me by pointing to correct and easy documentation?
Be_bro
  • 15
  • 1
  • 5
0
votes
0 answers

function rt_lookup( ) undefined

I used Real time workshop to generate c code from a simulink model. When I tried to compile the resultant C code, I get the above error. When I check in the MODEL.c file, the function rt_lookup is called, but not defined. After some research in…
Be_bro
  • 15
  • 1
  • 5
0
votes
2 answers

How to call an m-script from .tlc file

I have a requirement to call an m script when the build button is clicked after selecting a target in real time workshop. Can anyone suggest, how this can be accomplished ? Also I have to pass the name of the simulink model in this m script. Is…
Be_bro
  • 15
  • 1
  • 5
0
votes
1 answer

error: #error "must define number of sample times, NUMST"

I get the below error when I run the make file which builds the c code generated by matlab. I believe I have missed to include some library file. But unable to recognize the same at the moment. Any inputs is highly appriciated. error: #error "must…
Be_bro
  • 15
  • 1
  • 5
0
votes
0 answers

How to customize files obtained from RTW

I use Matlab R2008a and I try to replace handmade C code with code generate from Simulink model. I've reach a good result but in some file I've an unnecessary function , generated to initialize the data structure : _initialize(). Now, how can avoid…
H2O
  • 153
  • 1
  • 1
  • 13
0
votes
2 answers

Rational Test Workbench iPhone - could not merge original binaries could not merge instrumented binaries

Below given are environment specification of my system System: MacBook Pro OS X version: 10.8.5 Worklight: 6.1 Emulator: 6.1 Build for iOS: 6.1 I have installed Mobile Test Workbench 8.5.1.2 in eclipse-kepler I followed instruction on the page at…