Saurabh Gupta
Followers: 0 Following: 0
Statistics
0 Questions
57 Answers
RANK
854
of 295,448
REPUTATION
86
CONTRIBUTIONS
0 Questions
57 Answers
ANSWER ACCEPTANCE
0.00%
VOTES RECEIVED
19
RANK
of 20,227
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 153,872
CONTRIBUTIONS
0 Problems
0 Solutions
SCORE
0
NUMBER OF BADGES
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
Creating a custom implementation of an Inport block
It should be doable using a Mask. Edit box parameters allow DataTypeStr type, which you can use for providing Data Type options ...
7 years ago | 0
Change the buffer size during a simulation
Buffer block dialog parameters can not be modified while the simulation is running or paused. You can observe this by trying to ...
7 years ago | 0
| accepted
How can I tell EmbeddedCoder/SimulinkCoder to not evaluate expressions containing Matlab tunable parameters when generating C-code from Simulink?
For tunability in code generation, the parameter needs to be a variable. Parameters specified as expressions are evaluated and i...
7 years ago | 0
How can I input a vector in a control port of a switch when "Allow different data input sizes[...]" is active?
Adding to Swaroop's points, I think the crux of the errors is this message: _"Simulink cannot propagate the variable-size mode f...
7 years ago | 0
On double looping and confusion with cell arrays and cumtrapz() function
Most of your original code is element-wise operation on vector/matrix elements, so I don't see any reason to use a loop to handl...
7 years ago | 0
How do I reset legoev3 connection type?
The 'legoev3' command has options to specify the connection type (refer to following link for example). When used without any op...
7 years ago | 0
vl_compilenn error
It looks like 'vl_compilenn' is from a third-party repo called 'MatConvNet' which has its own forums at the following links. You...
7 years ago | 0
Cannot connect to serial [Linux]
It looks like you are not able to launch <https://www.mathworks.com/help/matlab/matlab_env/manage-your-add-ons.html Add-Ons Mana...
7 years ago | 0
Integration doubt in SIMULINK.
Simulink Engine is designed to work with Signals which functions of time and the available Integrator blocks calculate integrals...
7 years ago | 0
Peak envelope calculation of a signal
The following documented example should be helpful. It explains the process of envelope detection using MATLAB as well as Simuli...
7 years ago | 0
How do I run Labview code in MATLAB?
This question may be better suited for an NI forum. To help you get started, the following post discusses a similar question and...
7 years ago | 0
| accepted
Why should I change the mutation function to '@mutationadaptfeasile' when using lower and upper bounds?
The following documentation explains that _"default mutation function, mutationgaussian, is only appropriate for unconstrained m...
7 years ago | 0
Plotting index-determined points in a continuous line plot in a different color
Generally speaking, line plot functions combine adjoining points, based on the input vectors, into line segments. All you need t...
7 years ago | 1
Simulink: Sending Android Camera Data To Workspace
Both external mode simulation and deployment are based on code generation. It seems that the ' Video to Workspace' block is igno...
7 years ago | 0
| accepted
is it possible to show power flow direction in real time like PowerWorld software in Simulink?
I don't think there is any functionality implemented as a part of Simulink that could integrate with 'PowerWorld'. Possibly, the...
7 years ago | 0
| accepted
Hi all, I want to assign variables to my single column table data of strings in matlab
As I understand, you have a column vector of unique strings and you want to determine an index in the form of "Axx to Zxx" for e...
7 years ago | 0
Arduino libraries stopped working in Simulink
From the errors, it looks like you are calling C++ functions in lcd_wrapper.c, which is C source file. You may want to use <http...
7 years ago | 1
Creating a standalone .exe of an .m file that calls a simulink model
One way would be to generate code from MATLAB Code and Simulink model independently, integrate them manually and compile them to...
7 years ago | 4
| accepted
How to efficiently access data from ROS PoseArray Messages?
You could use <https://www.mathworks.com/help/releases/R2017a/matlab/ref/arrayfun.html arrayfun> to perform the operations. I do...
7 years ago | 0
To-File block with Raspberry Pi 3 is not working after Deploying model to Hardware
You could try the following steps: 1) Check the generated code and see if you can find any reference to the MAT File that you...
7 years ago | 2
| accepted
Mex to S-function
You can create an S-function block from your C++ code using the Legacy Code tool. <https://www.mathworks.com/help/simulink/sf...
7 years ago | 0
Error using glmfit: Second column in Y?
As the error suggests, Y should 1) either be a binary vector i.e. a vector of 0s and 1s only (other values, like 2, are not ...
7 years ago | 0
[Eyetracker] How can I extract specific lines of text data with multiple headers
Your file format is a bit mixed up, so you will have to do some processing to separate the related data rows and match them with...
7 years ago | 0
Applying composite midpoint rule in two dimensions
The error occurs at the following line c(n,m) = ([n m]-(1/2)).*h; The reason is that lhs is a scalar (single element of...
7 years ago | 0
How can I create a non-fully connected neural network?
You can create a custom neural network and control the connections as per your requirement. The following documentation describe...
7 years ago | 0
| accepted
Coverage > Results pane can not find Enable cumulative data collection.
If you look at the Configuration Parameters editor, you will notice that it has two appropriately named tabs: Commonly Used Para...
7 years ago | 0
Make 3-D annotations independent of viewpoint
Conceptually speaking, I think there is a fundamental difference between what you want to achieve and the way the plot is being ...
7 years ago | 0
How to generate a Simulink S-Function programmatically?
You should be able to use a combination of instructions in the following two documentation sections to write a script that gener...
7 years ago | 0
| accepted
Signal names not displayed in target scope
I think the below post answers your question. <https://www.mathworks.com/matlabcentral/answers/297727-how-can-i-name-and-disp...
7 years ago | 0
Error using Sobel edge filter with a color image
As the error mentions, <https://www.mathworks.com/help/releases/R2016b/images/ref/edge.html#buo5g3w-3 the variable 'I' is expect...
7 years ago | 0