Community Profile

photo

Joseph Stalin


Active since 2012

Statistics

All
  • First Submission
  • Knowledgeable Level 1
  • Thankful Level 3
  • First Answer

View badges

Content Feed

View by

Answered
Using simulink or simscape?
Hello Chris, Not sure which verison of MATLAB you are using. This is due to Power electronics library would have been develo...

5 years ago | 0

| accepted

Answered
GRT vs ERT
thx Walter... in crisp... simply the grt target for PC level simulation. Not intended for flashing into a HW. But ert is ta...

5 years ago | 1

Answered
why does not the board work with STM32-Mat Target?
Hello, If you are using MATLAB, first did you try the simulation works fine by toggling the port. (before downloading it to the...

5 years ago | 0

Question


m script bus selector output
Hi, I am writing a m-script to create a bus selector , getting an input bus and select a particular bus as a output bus. by th...

6 years ago | 1 answer | 0

1

answer

Question


How to read a variable from matfile by searching for its name?
Hi, I have a matfile with variables of having 1000 samples each. I want to search for specific variables by its name and pick t...

6 years ago | 1 answer | 0

1

answer

Question


Data resampling issue on plotting
Hello Users, I got a problem of resampling data. My mat file consists of voltage data(V) of 46483 samples. My current (I) da...

6 years ago | 0 answers | 0

0

answers

Question


How to display user defined data in a plot?
Hi, I have a data set , where I need to analyse for the max, min etc., Also I want to plot the data and want to display the m...

6 years ago | 0 answers | 0

0

answers

Question


S function mdlstart code not appearing in dSPACE target
Hello, I have written a S function for the dSPACE target. When I mex compiled and target built it,it has compiled and buit fi...

6 years ago | 0 answers | 0

0

answers

Question


How to read the position_array [left, top, right, bottom] of a simulink block (co ordinates) ?
Hi, I want to read the position [left, top, right, bottom] of a block. which will ease my work to attach blocks with that via ...

7 years ago | 0 answers | 0

0

answers

Question


command for reading the available subsystems using find_system();
Hi, I have a model with few sub system blocks inside. I am using find_system() to read the subsystems as below.. find_system...

7 years ago | 1 answer | 0

1

answer

Question


Custom Library creation issue
I am trying to create a library block and want it to appear in the Simulink library browser.. (following the steps told in htt...

7 years ago | 2 answers | 0

2

answers

Question


Where do I use this? Vector to Bus and Bus to Vector
Hi Anybody can explain me why and how to use the Vector to Bus/Bus to vector blocks? What is the advantage will I get?

8 years ago | 1 answer | 0

1

answer

Question


Why the dimension is crossed
Hi Users, In this below statement xls_read() says it is a 25x2 double (associated with a xls sheet) But when I copy it to the...

9 years ago | 1 answer | 0

1

answer

Question


How to replace variable names in a mat file
Hi, I want to change the naming conventions of a matfile variables. Ex: Original name: CAN_<XXX>_BUS To be changed to: W_Y...

9 years ago | 3 answers | 0

3

answers

Question


Simulink Coder - Customizing stateflow generated code varaibles
Dear Techies, I am using stateflow model and Simulink coder for code generation. I have configured few variables as local in...

11 years ago | 0 answers | 0

0

answers

Question


Simulink Coder- Post Processing
Dear all, After genrating the code in Simulink Coder I am giving the below command in the com window to run my Post processing ...

11 years ago | 1 answer | 0

1

answer

Question


Simulink Coder- Post Processing
Dear Techies, I am customizing my Simulink Coder generated code via my own mscript. I have to use the statement set_param (...

11 years ago | 1 answer | 0

1

answer

Question


function for editing a file
Dear Techies, I want to read and write a file with some changes. I am able to read a particular line using fgetl().After readi...

11 years ago | 1 answer | 0

1

answer

Question


Simulink Coder - Optimizing code generated for local variables
Dear Techies, In Stateflow charts for variables of local scope Simulink Coder generates structure variables with extern type....

11 years ago | 0 answers | 0

0

answers

Question


Simulink Coder - Customizing stateflow generated code
Dear Techies, I am intended to generate code from my Stateflow models. I am using Unit delay blocks to represent variable...

11 years ago | 1 answer | 0

1

answer

Answered
Modelling in simulink to obtain a function taking one parameter after code generation
To pass an argument of a function please configure the sybsystem block to reusable function having the argument passed via Input...

11 years ago | 0

Question


Simulink Coder-Customizing grt.tlc generated source code.
Dear Techies, I am working in Code generation using Simulink Coder.(dont have Embedded Coder license).I am using grt.tlc. T...

11 years ago | 1 answer | 0

1

answer

Question


How the transfer function block calculates the output?
Hi, Actually I am trying to understand the maths behind the MATLAB transfer function block,for reverse engineering some contr...

11 years ago | 1 answer | 0

1

answer

Submitted


C macros to m file converter
This is the utility can be used in C code to model conversion activity.

11 years ago | 1 download |