Community Profile

photo

Saurabh Gupta

Last seen: 4 Monate vor Aktiv seit 2016

Followers: 0   Following: 0

Statistiken

  • Knowledgeable Level 3
  • Revival Level 1
  • Knowledgeable Level 2
  • First Answer

Abzeichen anzeigen

Feeds

Anzeigen nach

Beantwortet
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 ...

mehr als 6 Jahre vor | 0

Beantwortet
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 ...

mehr als 6 Jahre vor | 0

| akzeptiert

Beantwortet
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...

mehr als 6 Jahre vor | 0

Beantwortet
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...

mehr als 6 Jahre vor | 0

Beantwortet
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...

mehr als 6 Jahre vor | 0

Beantwortet
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...

mehr als 6 Jahre vor | 0

Beantwortet
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...

mehr als 6 Jahre vor | 0

Beantwortet
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...

mehr als 6 Jahre vor | 0

Beantwortet
Integration doubt in SIMULINK.
Simulink Engine is designed to work with Signals which functions of time and the available Integrator blocks calculate integrals...

mehr als 6 Jahre vor | 0

Beantwortet
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...

mehr als 6 Jahre vor | 0

Beantwortet
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...

mehr als 6 Jahre vor | 0

| akzeptiert

Beantwortet
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...

mehr als 6 Jahre vor | 0

Beantwortet
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...

mehr als 6 Jahre vor | 1

Beantwortet
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...

mehr als 6 Jahre vor | 0

| akzeptiert

Beantwortet
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...

mehr als 6 Jahre vor | 0

| akzeptiert

Beantwortet
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...

mehr als 6 Jahre vor | 0

Beantwortet
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...

mehr als 6 Jahre vor | 1

Beantwortet
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...

mehr als 6 Jahre vor | 4

| akzeptiert

Beantwortet
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...

mehr als 6 Jahre vor | 0

Beantwortet
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...

mehr als 6 Jahre vor | 2

| akzeptiert

Beantwortet
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...

mehr als 6 Jahre vor | 0

Beantwortet
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 ...

mehr als 6 Jahre vor | 0

Beantwortet
[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...

mehr als 6 Jahre vor | 0

Beantwortet
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...

mehr als 6 Jahre vor | 0

Beantwortet
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...

mehr als 6 Jahre vor | 0

| akzeptiert

Beantwortet
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...

mehr als 6 Jahre vor | 0

Beantwortet
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 ...

mehr als 6 Jahre vor | 0

Beantwortet
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...

mehr als 6 Jahre vor | 0

| akzeptiert

Beantwortet
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...

etwa 7 Jahre vor | 0

Beantwortet
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...

etwa 7 Jahre vor | 0

Mehr laden