![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/5328422_1522823558134.jpg)
Amit
Self organized
Followers: 0 Following: 0
Professional Interests: Image Processing, simulink, GUI, Control system, Communication tools
Statistics
RANK
2,236
of 297,016
REPUTATION
28
CONTRIBUTIONS
3 Questions
16 Answers
ANSWER ACCEPTANCE
66.67%
VOTES RECEIVED
2
RANK
of 20,419
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
How to do this while loop
We can do it in this way : A = [1 2 3]; B = [2 4 5]; LenA = 1; while LenA <= length(A) if(A(LenA)-B)<=1 out = t...
5 years ago | 1
| accepted
Importing Microsoft Excel data to MATLAB as a single variable from multiple spreadsheets that contains various data ranges
Hello Peter, Try the below solution : station = []; SheetName = {'CTD 2014'; 'CTD 2015'; 'CTD 2016'; 'CTD 2017'; 'CTD 2018';...
5 years ago | 0
| accepted
How to change the matrix form?
Not clear what you exacly expect, if some more clarity you can give on the problem, that would be helpful. if it helps:
5 years ago | 0
Use From/Goto Block in different model file
Goto and From blocks have a limited scope of visibility, which cannot cross over one model to another. local (default) — From a...
5 years ago | 0
| accepted
How to set() plot in matlab with cell array
This should work, I think you had missed the transpose of x-array: A = cell2mat(cellArray); set(hPlot3, 'Xdata...
5 years ago | 0
Question
How to Configure simulink out-ports to generate specific argument of function?
So I want to generate the code for a function where it gives the argument as shown in the image below. So what configuration sho...
5 years ago | 1 answer | 0
1
answerHow to generate s-function block from Autosar SWC ?
The particular subsystem should be configured as AUTOSAR SW component first, and all the IN/OUT ports have to be configured as A...
5 years ago | 1
Unable to read strings (I get NaN) in the excel file imported into Matlab
Import the exel data with option cell array output type, not as Numeric matrix.
5 years ago | 0
How to calculate (hh:mm:ss + minutes()) and show the all result in GUI table?
Use clock function to display current time on your gui : I hope the below code will help you. for i =1:10 time= clock; if...
5 years ago | 0
Display value to gui table
Hi, Arrange the result data in matrix form and set on the table using table handle. If the data is getting calculated in some o...
5 years ago | 0
Bring Figure to main GUI and take control over that figure
If you wants to plot your data on GUI, you have to write the code in callback of some button from where you can control the fig....
5 years ago | 0
| accepted
Array indexing, matrix indexing
Hi, not sure why you are using the if condition as the statements are same in if and else block.. And use one more loop to get ...
5 years ago | 0
AUTOSAR from arxml to model - errors using importerobj
ARXML file generally contains the information of AUTOSAR compliance interfaces and data definintions etc, the inside functionali...
5 years ago | 0
Question
How to use Model Referencing in Target-link for incremental code generation?
I have developed a model which i want to reference in the main component model, but while generating code i am facing so many is...
7 years ago | 0 answers | 0
0
answersunable to run .m or .slx file from GUI pushbutton callback
GUI callback is basically a function which do not share base workspace. So when you calling your script through callback its va...
7 years ago | 0
How to save each iteration of a nested for loop as rows
p =0; for i = 1:size(starttime,1) for j = 1:size(cell,2) ...
7 years ago | 0
merge image using matlab
Yes you can do this as: im1= imread('image1.jpg'); im2= imread('image2.jpg'); im3= imread('image3.jpg'); r = i...
7 years ago | 0
| accepted
Question
how to swap input interfaces with each other without using switch or if block?
eg. I have four input interfaces H1,H2,H3 & H4. So based on some valid condition i have to swap these signals like this (H4->H1,...
7 years ago | 1 answer | 0