photo

Venkatachala Sarma

MathWorks

Last seen: 1 month ago Active since 2016

Followers: 0   Following: 0

Statistics

  • Revival Level 2
  • Knowledgeable Level 2
  • First Answer

View badges

Feeds

View by

Answered
Error during codegeneration with C2000 target support package and TI LaunchPad
This could happen if the configurations done in xmakefilesetup is not proper. Please go through the following documentation to c...

8 years ago | 1

Answered
Strange error during code generation using CCSv5.5
'no source files, nothing to do' in the log suggests that the support package installation might be old. Please check if you hav...

8 years ago | 0

Answered
SPI communication in Simulink / Embedded Target TI C2000
You will be able to change the Data bits setting of SPI communication only during compile time in Simulink. SPI Communication ha...

8 years ago | 0

Answered
Is it possible to rename rt_OneStep?
rt_OneStep() function is called by the Scheduler Timer which is a part of the Hardware Support Package. Basically it is not mode...

8 years ago | 0

Answered
How to resolve TI DSP28335 related error "### Failed to generate all binary outputs"?
As the error message is clear, your model is big enough not to fit into F28335's RAM. So dump the code into F28335's flash memor...

8 years ago | 3

Answered
Raspberry pi running in external mode send data over (serial) communication to arduino uno
Hi Jeroen, First, there is no Simulink block as of now for serial communication with Raspberry PI as given in the following l...

8 years ago | 0

Answered
I am having problem in external connection('ext_serial_win32_comm') error. How can I fix it?
Hi Mahmut, Two things to make sure. 1. Com Port in the External Mode tab in the Hardware Implementation pane of Configurat...

8 years ago | 1

Answered
How to use the memory copy block of simulink
Hi Nitish, Could you please post one complete workflow here. Say for example, 1. One sample model with 2. what data i...

8 years ago | 0

Answered
Error calling char variable from C code by function block of Simulink
Hi Alberto, 'coder.ceval' should be used only for code generation. For simulation, you will have write your own algorithm. ...

8 years ago | 0

Answered
error: incompatible types when assigning to type 'double' from type 'char *' c2_b_y = doble(c2_b_u);
Hi Alberto, I think this summarizes all your recent queries :) So Simulink tries to check if the model is fit for generati...

8 years ago | 0

Answered
error: initializer element is not constant (void (*)(void))((uint32_t)&__STACK_TOP)
Hi Alberto, Could you paste your MALTAB coder in the MATLAB Function block here?

8 years ago | 0

Answered
How To Solve these errors: error: "initializer element is not constant (void (*)(void))((uint32_t)&__STACK_TOP)" and "error: (near initialization for 'g_pfnVectors[0]')"
Hi Alberto, Are you using a MATLAB Function block to evaluate your c-code? Could you paste your MATLAB coder here?

8 years ago | 0

Answered
How to force both PWM outputs of a single module to zero using a value in the model (F28335) ?
Hi Thomas, You can write to any register using the custom code blocks available in the Simulink Coder. If you check in Simuli...

8 years ago | 3

| accepted

Answered
How to create bus from timeseries object including enumerated class?
Try subclassing BHA from Simulink.IntEnumType. classdef BHA < Simulink.IntEnumType enumeration Stationary(0...

8 years ago | 1

| accepted

Answered
Simulink Model Callbacks - How can I tell if the user pressed Run or Build?
It is currently not possible to detect whether the user hit the run button or build button in any callback. As a workaround, you...

8 years ago | 0

Answered
Error on compilation of example "Getting Started with Embedded Coder Support Package for BeagleBone Black Hardware"
This issue is caused by an incompatibility between the Linaro Toolchain 4.8 (which uses GCC 4.8) and the Debian 8.3 image which ...

8 years ago | 4

Answered
can I modify how a global data store is represented in generated code?
Instead of defining it as a global data store, define the Simulink.Signal inside the Model Workspace. By doing so I as able to g...

8 years ago | 0

Answered
Problem with configuration for concurrent processing
Please check the videos in the following links and check if you are able to successfully run the shipped demo model. <http://...

8 years ago | 0

Answered
Arduino Simulink Serial Communication
To the top right of the 'Serial Transmit' and 'Serial Receive' blocks, it says 'ARDUINO'. This means that these blocks execute o...

8 years ago | 0

Answered
Matlab and Simulink trial version with embedded coder and MATLAB Coder and Simulink Coder
You have to install the hardware support package for TI C2000 processors to build models and deploy them. Please go through the ...

8 years ago | 2

Answered
calling a c++ function using coder.ceval to be compiled on raspberrypi [error ./MW/modelname: No such file or directory]
Hi, This looks like a path issue. While including external code for Simulation and Code Generation, it is necessary to provid...

9 years ago | 0

Answered
How to send 32 bit command to programmable PWM controller?
Hi, The process of writing data to the SPI Device is okay. But the data format which writes the control registers may not be ...

9 years ago | 1

Answered
How do I make a Simulink embedded function run independent of the time step of the model?
Hi, It is currently not possible to execute a block as an independent task or a background task directly in Simulink. Simulin...

9 years ago | 0

Answered
How can the pdepe solver solution be used as a new initial condition for the next iteration? i.e using pdepe within a loop
Hi Younus, This could be done by using a variable shared between the function calling 'pdepe' and the function pdex1ic(x) whi...

9 years ago | 1

Answered
ODE45 - want to stop simulation when Steady State occurs
Hi, I initially got an error while running your code. I changed the 'y' to 'sol2.y' in the last but 1 and last but 3 lines. ...

9 years ago | 0

Answered
Component of a vector parallel with a spherical surface
Hi, I am assuming that you would like to plot in 3D, components of the magnetic field that are parallel to the tangent of a s...

9 years ago | 0

| accepted