photo

Prannay Jain

MathWorks

Active since 2016

Followers: 0   Following: 0

Message

I am an Application Support Engineer at MathWorks with a Computer Science background.

Statistics

  • Knowledgeable Level 3
  • Knowledgeable Level 2
  • First Answer

View badges

Feeds

View by

Answered
Is there a way to use fmincon without function handles?
According to the documentation of fmincon - <http://www.mathworks.com/help/optim/ug/fmincon.html>, you can also use problem stru...

7 years ago | 0

Answered
Is there a way to change model parameters at runtime that is support for code generation?
For code generation, depending on the complexity of blocks, the user could try building the sources from basic blocks or use S-f...

7 years ago | 0

Answered
ODE options in simulink (jpattern)
Have a look at this document and search for jpattern, <http://www.mathworks.com/help/matlab/ref/odeset.html>

7 years ago | 0

Answered
Can I use my R2017a student license on 2 computers?
Generally, the answer to such questions depends on the license type and other licenses related stuff. To get a swift answer, ...

7 years ago | 0

Answered
How to change the color of "partial" text in gui static text
Unfortunately, currently this is not possible to change the color of "partial" text in gui static text. You may think of adding...

7 years ago | 0

Answered
How to use a for loop to add an array and matrix together?
Below two for loops should work for your case. Fill SLSCMatrix column wise as SLSVRise is a column matrix. for j=1:N f...

7 years ago | 0

Answered
Creating log file for Matlab compiler's created executable
You probably cannot provide the variable in the logfile name while using 'mcc'. As a workaround, create an expression of the mcc...

7 years ago | 1

Answered
messy table in one column
To skip first 11 lines which have string, you can use, readtable(fileName, 'HeaderLines', 11) 'readtable' expects to h...

7 years ago | 0

Answered
There are two main folders which have 50 sub-folder each. In sub-folders there are tiff images. How to read images from sub-folders.
% Create a cell array of pre-defined directory locations folders = {'/media/DATA/M-001';'/media/DATA/M-002'}; for i ...

7 years ago | 0

| accepted

Answered
Converting from volume (or image) to meshgrid
>> A=imread('grayimage.jpeg'); >> [X,Y]=meshgrid(1:size(A,1), 1:size(A,2)); You can also refer to this link, <https:/...

7 years ago | 2

| accepted

Answered
Java heap size is not accessing all available RAM
If the maximum value, allowed by this slider, is too small for the requirements, it could be directly adjusted by editing: "C...

7 years ago | 5

| accepted

Answered
Error using MEX in matlab r2016b with XCODE Version 8.3.2
The error could sometimes happen if the licensing terms of XCode are not accepted. Hence, to fix the issue, XCode can be opened ...

7 years ago | 0

Answered
Matlab socket is not interruptible?
Currently in MATLAB, when you try to open a connection (either as the 'server' or the 'client') using a 'tcpip' object, the call...

7 years ago | 0

| accepted

Answered
Matlab socket is not interruptible?
You have mentioned that setting the 'Interruptible' flag to 'on' does achieve your expected behavior. Then what is the part that...

7 years ago | 0

Answered
Possible to find if a portion of an array equals an array of the same size as the portion?
Yes, it is possible to compare a part of an array with another array of the same size of sub-array. You will have to write lo...

7 years ago | 1

| accepted

Answered
how can i set the range of snr in the matlab script i found on www.polarcodes.com
From a quick glance at the code provided at www.polarcodes.com, it seems that snr can be set in file "plotPC.m" line number 61. ...

7 years ago | 0

Answered
How to use alphadata for markers in scatter plot so each marker has a different alpha value?
I work for MathWorks and I have provided this feedback to the developers. As a work around, you can set the alpha for every p...

7 years ago | 1

Answered
Postgres/Matlab: "JDBC driver file was not found on MATLAB Java classpath“
As I mentioned above, the JDBC driver should match the corresponding JDK version of your MATLAB. Since your MATLAB shows Java 1....

7 years ago | 0

Answered
How can I use MAT-file API to create WPF applications?
You can go throw this detailed documentation on MAT-API to read and write MATLAB data from C/C++ programs: <http://www.mathwo...

7 years ago | 0

| accepted

Answered
Matlab socket is not interruptible?
'tcpip' is not a base MATLAB function. It comes with Instrument Control Toolbox. Can you try with 'tcpclient' which comes with b...

7 years ago | 0

Answered
Matlab compiled jar cannot run with task scheduler but can run manually
I am not sure what might be the issue, but there are few things you might try: 1) It may be a permission issue. Make sure tha...

7 years ago | 0

| accepted

Answered
Postgres/Matlab: "JDBC driver file was not found on MATLAB Java classpath“
Make sure that you are using the correct version of JDBC driver and adding the full path to the database driver JAR file in "jav...

7 years ago | 0

Answered
How can I setup efficiently parallel pool for local computation??
I understand that you are not getting the performance improvement by using PCT. Parallelizing the code does not always speed up ...

8 years ago | 0

Answered
Out of memory smpd parallel computing toolbox eig on complex matrix
I understand that you are running into memory issues even after parallelizing the computation using spmd and parpool. Moving ...

8 years ago | 0

| accepted

Answered
How to make an app built by AppDesigner suitable for deployment as santdalone?
Regarding your second question of using toolboxes inside the application, MATLAB Compile Runtime (MCR) will take care of most of...

8 years ago | 1

Answered
How to make an app built by AppDesigner suitable for deployment as santdalone?
I understand that you would like to provide matrices available in a workspace as user inputs to your standalone application. In ...

8 years ago | 0

| accepted

Answered
Error while using webcam from my laptop
OS Generic Video Interface Support package is used for Image Acquisition Toolbox which does not provide 'webcam' command. To use...

8 years ago | 0

Answered
Parallel profile isn't saved.
The parallel computing profiles reside in the MATLAB Preferences directory as suggested by Edric in the above post. The contents...

8 years ago | 0

Answered
Code in live script run much slow
Yes, the code runs slower in the live script than in the command line. Currently, there is no way to configure the amount of res...

8 years ago | 4

Answered
Parallel computing is posible in simscape SimPowerSystem?
Yes, parallel computing is possible in Simulink. Refer to this document for more details: <http://www.mathworks.com/help/simuli...

8 years ago | 0

| accepted

Load more