답변 있음
Not able to run any GUI related code
I think there is a typing there in line 151. x = get( handles.edit,'String'); what this line does is, it gets the conten...

약 3년 전 | 0

답변 있음
Copy data from table created by MATLAB GUI
Create a context menu and use https://in.mathworks.com/help/matlab/ref/clipboard.html

약 3년 전 | 0

답변 있음
how find frequency of a number from an array where we can specify the length in which frequency must be checked
function freqCnt = findFrequencyofNumber(arrayInput, startidx, endidx, number2bechecked) tempArray = arrayInput(startidx:en...

약 3년 전 | 1

| 수락됨

답변 있음
Correct use of regexp
y=regexprep(x,'[0+]','00')

약 3년 전 | 0

답변 있음
How to invert .p file to .m file
You cant do that. https://in.mathworks.com/help/matlab/ref/pcode.html

약 3년 전 | 0

| 수락됨

답변 있음
Saving variables from recursion?
function [F] = recursive_fibonacci(N) if N < 1 N = 1; end if (N == 1) || (N == 2) F = 1...

3년 이상 전 | 0

답변 있음
move a row from a cell to another cell
>> Q{1,:}(1,:) ans = 1 2 3 4 >> Q{2,:}(1,:) = Q{1,:}(1,:)% Do you simply mean this? Q = [3x...

3년 이상 전 | 0

답변 있음
How to change the Matlab "toolstrip" color and font color?
There is also a cool FileExchange that can help you set the preferences (themes). http://in.mathworks.com/matlabcentral/fileexc...

3년 이상 전 | 0

답변 있음
rearrange the dimension of lat and lon in matrix
You want to transpose the matrix? New_Matrix = Old_Matrix';

3년 이상 전 | 0

| 수락됨

답변 있음
exporting data to excel using xlswrite
What is your error message? Are you doing xlswrite('file.xlsx', var1, 'A5')%Note the single quote around A5 xlswrite('...

3년 이상 전 | 1

답변 있음
What is the proper syntax to include an enum data type in a Simulink parameter?
https://in.mathworks.com/help/simulink/slref/simulink.aliastype.html

3년 이상 전 | 0

답변 있음
Error using thingSpeakWrite Expected a string scalar or character vector for the parameter name.
Isnt this the API ? You missed the 'WriteKey' key in your API call? thingSpeakWrite(channelID, data, *'WriteKey'*, writeAPIKe...

3년 이상 전 | 0

| 수락됨

답변 있음
Creating a string scalar with line continuation
myStr = ['Hello this is an extremely long sentence that would go ', ... 'beyond my 80-character limit.']; disp(...

3년 이상 전 | 0

답변 있음
'Undefined Function or Variable' Error when the variable is perfectly defined!!!!!
Step_Atoms is the only suspect. What does the function contain?

3년 이상 전 | 0

답변 있음
App Designer: Format headings on uitable
You can use html to format the headings, values in table! You may start here https://undocumentedmatlab.com/blog/gui-formatti...

3년 이상 전 | 0

답변 있음
How to use interpolation to obtain the value at tmax?
SamplePoints = 0:10;%the random time values when you have sampled DataPoints = [];%all data points Xq = tmax; Vq = in...

3년 이상 전 | 0

답변 있음
Can use image name as an argument in an if else statement?
you have to use strcmp to compare strings. And use single quotes in strings. if strcmp(selectedimage, '1.bmp') imshow (...

3년 이상 전 | 0

답변 있음
Don't use Global... Okay how do I switch to guidata??
Normally, You can use handles structure and update your global variables in this structure. handles.my_var = 5; % my_var w...

3년 이상 전 | 0

답변 있음
How to execute saved function file
Do you save it in a different file name (and function name)? If NO, then its highly likely that your old file gets executed (...

3년 이상 전 | 1

답변 있음
How to identify block separately GUI
You can set the background colour property on keypress callback.

3년 이상 전 | 0

답변 있음
How to detect data types automatically as in uiimport but without ui?
You have tried xlsread on the csv? xlsread can get raw, txt and numbers on different variables. [NUM,TXT,RAW]=xlsread('mycs...

3년 이상 전 | 0

답변 있음
App Designer: Drop down menu values
Get the value of the selected option from drop down menu callback using *Value* property. *Value* will be the index of select...

3년 이상 전 | 3

답변 있음
App Designer: Numerical input to a string
app.c2 is a cell array. You cant use string on cell array. You can use app.c2 = [app.number1, app.c1] app.c3 = string...

3년 이상 전 | 0

| 수락됨

답변 있음
How can I save a counter after push button in GUI ?
You have sto store this data the gui handles. You can do this by inserting data.handles.A = [data.handles.A; data.handles.I...

3년 이상 전 | 0

답변 있음
Do the Simulink Verification Validation and Test products work with dSPACE TargetLink models?
V and V can only provide you with Model Coverage (It works for both Simulink and TargetLink models because, when you simulate a ...

3년 이상 전 | 1

| 수락됨

답변 있음
How can I save my data in an array in GUI?
tc and q1 are not available in base workspace. So your will not work. 1. You can set tc an q1 as globals so that you can acce...

3년 이상 전 | 1

| 수락됨

답변 있음
Saving notes to the startup function
Any specific reason why you want to do this in the start fcn? IMHO, the best way is to store the data in a separate file (exampl...

3년 이상 전 | 1

| 수락됨

해결됨


Pernicious Anniversary Problem
Since Cody is 5 years old, it's pernicious. <http://rosettacode.org/wiki/Pernicious_numbers Pernicious number> is an integer whi...

3년 이상 전

해결됨


Van Eck's Sequence's nth member
Return the Van Eck's Sequence's nth member. For detailed info : <http://oeis.org/A181391 OEIS link> and <https://www.theguard...

3년 이상 전

해결됨


Tick. Tock. Tick. Tock. Tick. Tock. Tick. Tock. Tick. Tock.
Submit your answer to this problem a multiple of 5 seconds after the hour. Your answer is irrelevant; the only thing that matte...

3년 이상 전

Load more