Community Profile

photo

Tony Mohan Varghese

Last seen: 3 months ago Active since 2017

Followers: 0   Following: 0

Statistics

  • Knowledgeable Level 2
  • Revival Level 2
  • 3 Month Streak
  • First Answer

View badges

Feeds

View by

Answered
Matlab Coder crashes while running with mex file
You can debug the generated mex and identify the problem site. To debug generated MEX code, just pass the -g option to codegen a...

2 years ago | 0

Answered
Not enough input arguments.
Please refer to the example for Partial Differential Equations. The pdefun and icFun in the PDEPE function signatures are in the...

6 years ago | 0

Answered
How can I create function with custom data type in Legacy Code Tool?
Please take a look at the example in the documentation : <https://in.mathworks.com/help/simulink/examples/using-buses-with-le...

6 years ago | 0

| accepted

Answered
In App Designer. Does anyone know how to add rows in a Table every time you push a button?
Assuming that there are 4 columns in the UITable, you can append the data to the table by using the following example code. ...

6 years ago | 2

Answered
Trying to install MATLAB Support Package for USB Webcams
Try a clean uninstallation of the support package and reinstall it again. 1. Open MATLAB and choose the drop-down menu for "A...

6 years ago | 0

| accepted

Answered
Speed up double sum and product
Modify the algorithm to use parfor loop. It can execute the loop iterations on parallel workers. <https://in.mathworks.com/...

6 years ago | 0

Answered
How to import Datetime Format form Database (Microsoft Access)
Change the date in MATLAB, once it is imported using the datetime and readtable command. % Code for reading the date fr...

6 years ago | 0

| accepted

Answered
Read arduino data from matlab with fscanf. I can read data but something's wrong
Try setting the baud rate of both boards the same. And check if you are facing the same issue. Also look into the _readasync...

6 years ago | 0

Answered
Why does C code generated by MATLAB Coder have numerical values already assigned to some internal variables of functions while the original MATLAB user defined function requires user input for those variables?
You can refer to this answer by Ryan Livingstone: <https://in.mathworks.com/matlabcentral/answers/231663-how-do-i-get-the-u...

6 years ago | 0

Answered
How to convert neural network Matlab code to Arduino IDE code??
You can use MATLAB Function block in Simulink and use Simulink support package for Arduino to deploy the generated code to the b...

6 years ago | 0

Answered
Can anyone explain how to this codes generated from neural network???how to apply this code in arduino ide??
You can use MATLAB Function block in Simulink and use Simulink support package for Arduino to deploy the generated code to the b...

6 years ago | 0

Answered
issue with MATLAB Coder and cell arrays
Solutions : * Use recognized pattern for assigning elements * Use repmat * Use coder.nullcopy Reference: <https://in.m...

6 years ago | 0

Answered
How do I create a filename for TIFF's that change in every loop. Like P01.TIFF then P12.TIFF and so forth. I've set up this in strings but I think the single quotes are missing.
Before calling imread, use the following: name = char(name); % assuming that name is a string array. This will convert ...

6 years ago | 0

Answered
How can I assign a GIF to a pushbutton?
You cannot assign a gif image to a pushbutton using GUIDE. A true colour RGB image can be assigned to a push button. To displ...

6 years ago | 0

Answered
How can I write an output file .dat?
you can use the save function in MATLAB. for example: x = randn(100,1); save test.dat x -ascii % or save('c:\fo...

6 years ago | 0

Answered
How can I guarantee Function input Data to be in a certain shape for Coder translated C Code?
Unbounded variable size inputs are defined as structures in the generated C code and it will be named as emxArray_real_T. <</...

6 years ago | 0

Answered
Following image has a equation to be coded in matlab but i m not getting how to use each iteration value from one code in another code.
Please elaborate on the nature of x1(k)i. As I understand from the equation, x1(k)i can be considered as a 2D array which ca...

6 years ago | 0

Answered
How to get matlab to create a function from system inputs and perform its fminsearch
Please refer the example for minimizing a function with extra parameters: <https://in.mathworks.com/help/matlab/ref/fminsearc...

6 years ago | 0

Answered
Getting started with Stateflow
Please go through the documentation links and examples. <https://in.mathworks.com/help/stateflow/getting-started.html> <ht...

6 years ago | 0

Answered
Export to existing excel file in same sheet
Please refer to the examples on: <https://in.mathworks.com/help/matlab/import_export/exporting-to-excel-spreadsheets.html>

6 years ago | 0

Answered
Parsim function consumes lot of memory. How to clear temporary MATLAB files?
Use the following command to clear the temporary files. >> parfevalOnAll(gcp, @sdi.Repository.clearRepositoryFile, 0) Tem...

6 years ago | 1

Answered
How to plot a dark green graph with RGB indication?
plot(___,Name,Value) specifies line properties using one or more Name,Value pair arguments. *Name-value pair settings apply to a...

6 years ago | 0

Answered
Preferences/settings for sending user experience information to MathWorks?
* Open Preferences * Click on General Tab. <</matlabcentral/answers/uploaded_files/96883/matlabanswers_1.JPG>>

6 years ago | 0

Answered
Hello, I need help in writing code in matlab that asks user to input 2 to 5 unique characters from lowercase alphabets, and then ask user for repetition and order allowed or not and create subset of arrangements from it.
Following links will get you a good start : <https://www.mathworks.com/help/matlab/ref/input.html> <https://www.mathworks....

6 years ago | 0

Answered
fclose() - How do I close all open files but one?
Currently, there is no way to close all open files, except one. <https://www.mathworks.com/help/matlab/ref/fclose.html>

6 years ago | 0

Answered
Unable to build mex file
Please refer the supported compilers for MATLAB R2015b : <https://www.mathworks.com/content/dam/mathworks/mathworks-dot-com/s...

6 years ago | 0

Answered
Segmentation violation at startup on Fedora 26
This error occurs when your computer cannot load a certain font display library through MATLAB. To resolve the issue, please ...

6 years ago | 1

| accepted

Answered
How do I make this code GPU capable
Refer to GPU Capabilities and performance in MATLAB Documentation : <https://www.mathworks.com/help/distcomp/gpu-capabilities...

6 years ago | 1

Answered
how to add 5 rows in a txt file
To write data to the top of the file, it is better to create a new file and write the required data to it. # Create a new fil...

6 years ago | 0

Load more