Risposto
How does one implement context menus within the Matlab App Developer?
As of 16B atleast, appdesigner doesn't have a context menu option. https://in.mathworks.com/help/matlab/creating_guis/choose-co...

quasi 6 anni fa | 0

Risposto
How to set SignalBuilder options (zero-crossing) programatically?
It is not directly possible. But some workarounds exists. https://in.mathworks.com/matlabcentral/answers/25824-is-possible-to...

quasi 6 anni fa | 0

| accettato

Risposto
MATLAB to python conversion
I have used libermate for matlab to python conversion. It is awesome! <https://github.com/awesomebytes/libermate>

quasi 6 anni fa | 1

| accettato

Risposto
Need a code to run through subfolders and store information
A good example at the end of this post! http://www.matlabtips.com/recursive-functions/

quasi 6 anni fa | 1

Risposto
i am trying to enter data into an excel spreadsheet through matlab by prompting the user to enter string . The next data doesn't go to the next row in the spreadsheet
Your xlrange should contain information regarding row number. For example instead of xlrange = 'A:C'; use xlra...

quasi 6 anni fa | 0

| accettato

Risposto
How to get meeting timing from outlook calendar for a particular day?
You may use Calendars.Items.GetFirst, Calendars.Items.GetNext, Calendars.Items.GetLast etc. Example: ...

quasi 6 anni fa | 0

Risposto
Retrun largest numbers?
>> [~, idx] = sort(A); >> B = A(sort(idx(end-2:end))))

quasi 6 anni fa | 0

| accettato

Risposto
How can I ask the user to input units of either m or in, then have the program keep asking them for units until they input either m or in?
disp('Choose the Unit.'); disp('[0] Inches.'); disp('[1] Metres.'); iChoice=input('Please make a ...

circa 6 anni fa | 0

Risposto
Can I use your Model Base Design for designing humanoid robots?
Model based Design/Software development is just a design/development methodology. It has many advantages including early valida...

circa 6 anni fa | 0

| accettato

Risposto
Is it possible to let MATLAB choose a file in a path if the user enters the first letters belonging to the file?
I would use dos dos(['dir /b /s ','ID*.jpg']) This returns a string, which you can then parse by new line character. ...

circa 6 anni fa | 0

Risposto
How to get the answer?
I have just reused your function. function homework() arrRadius = [5,3.5,6];%Random radii arrArea = zeros...

circa 6 anni fa | 0

Domanda


CLIs/APIs to add comments to Polyspace report
Hello all, I have an usecase where I as a SW integrator run PolySpace Code Prover(R2016B) on the full software. There are many ...

circa 6 anni fa | 0 risposte | 0

0

risposte

Risposto
How to combine multiple excel files with multiple spreadsheets of data into one
doc xlsread doc xlswrite

circa 6 anni fa | 0

Risposto
Is it possible to customize Simulink block parameters and take them as default?
I think, this is one simple tool you can use. https://in.mathworks.com/matlabcentral/fileexchange/30248-add-simulink-blocks-f...

circa 6 anni fa | 0

Risposto
how to save the output into a seperate folder for the program in the matlab
What is your output (is it some data or is it already a file . If it is data, what does it contain)? What format do you want to ...

circa 6 anni fa | 0

Risposto
Variable disappears when using it
Your var1 is in base workspace. So if your code is a Function, the var 1 is not available to the function because the function ...

circa 6 anni fa | 0

Risposto
model is closing for each run
Check the model Callbacks of the model specifically CloseFcn , https://in.mathworks.com/help/simulink/ug/model-callbacks.htm...

circa 6 anni fa | 0

Risposto
How to add custom check to a Model Advisor?
I think below documentation is great. https://in.mathworks.com/help/slcheck/examples/add_custom_ma_checks_tasks_callbacks.htm...

circa 6 anni fa | 0

Risposto
Good day. Please what is the difference between a script file and a function file, and in which case or situation is either one preferred above the other?
Generally Functions are better because they have defined interfaces do not interfere with base workspace unless explicitly coded...

circa 6 anni fa | 0

Risposto
Add zeros to matrices same as length of another matrix
bold1 = [bold1, zeros(360,2);zeros(9,5)]

circa 6 anni fa | 0

Risposto
matlab can't save script or function
<https://www.mathworks.com/matlabcentral/answers/50429-i-suddenly-cannot-save-m-files-anymore-what-can-i-do-about-that>

circa 6 anni fa | 0

Risposto
How to locate an error without a hyperlink in Simulink?
Are you simulating your model through sim command? If yes, what arguments are you passing? If you are simulating using the pl...

circa 6 anni fa | 0

Risposto
user defined variable input
Get the user input of X using input function. Then get the length of X using length function. Run a for loop on length of X ...

circa 6 anni fa | 1

| accettato

Risposto
Unable to run a script
I see a space between problem_2 and .m I think this is not intentional. Correct it and try running again.

circa 6 anni fa | 0

Risposto
Preventing repeat values in an edit text
>> cellExcelData = {'String1'; 'String2'; 'String3'} cellExcelData = 'String1' 'String2' 'String3' >> is...

circa 6 anni fa | 0

| accettato

Risposto
How to prevent graphs from popping up in simulink
HidHandles = get(0,'ShowHiddenHandles'); set(0,'ShowHiddenHandles','On'); AllScopeHandles = findobj(0,'Type','Figure','T...

circa 6 anni fa | 0

Risposto
Inputdlg requesting input to provide an output of 6 integers as a row vector
inputdata = []; while(~isequal(size(inputdata), [1,6])) x = inputdlg('Enter 6 integers as space-separated numbers:',...

circa 6 anni fa | 0

Risposto
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...

circa 6 anni fa | 0

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

circa 6 anni fa | 0

Risposto
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...

circa 6 anni fa | 1

| accettato

Carica altro