![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/8496760_1522126868171_DEF.jpg)
Saurabh Gupta
Followers: 0 Following: 0
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 ...
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 前 | 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 ...
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 前 | 0
| 已接受
已回答
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...
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 前 | 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...
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 前 | 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...
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 前 | 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...
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 前 | 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...
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 前 | 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...
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 前 | 0
已回答
Integration doubt in SIMULINK.
Simulink Engine is designed to work with Signals which functions of time and the available Integrator blocks calculate integrals...
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 前 | 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...
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 前 | 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...
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 前 | 0
| 已接受
已回答
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...
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 前 | 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...
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 前 | 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...
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 前 | 0
| 已接受
已回答
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...
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 前 | 0
| 已接受
已回答
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...
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 前 | 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...
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 前 | 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...
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 前 | 4
| 已接受
已回答
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...
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 前 | 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...
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 前 | 2
| 已接受
已回答
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...
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 前 | 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 ...
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 前 | 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...
[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 前 | 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...
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 前 | 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...
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 前 | 0
| 已接受
已回答
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...
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 前 | 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 ...
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 前 | 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...
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 前 | 0
| 已接受
已回答
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...
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 前 | 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...
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 前 | 0