Réponse apportée
error in gray area of app designer
Hello, You can't change grey area, check if you're missing an end somewhere in your code.

presque 6 ans il y a | 0

Réponse apportée
Create a histogram of y-axis positions at x=100?
Hello, I have changed a bit of your code so it doesn't overwrite the values within i loop. n = 100; P = zeros(i,n); % Array i...

presque 6 ans il y a | 0

Réponse apportée
saving data when looping
Because your t accepts only a scalar and it gets overwritten every single time. % Before loop n = 1; t = zeros(1,length(1977:...

presque 6 ans il y a | 0

Réponse apportée
How to combine two matrices (images)
Hello, You can use C = cat(1, B, A);

presque 6 ans il y a | 1

Réponse apportée
Multiple Selection in uitable
Hello, If you want to select multiple elements in UITable, hold down the shift button. Add Cell Selection callback to the table...

presque 6 ans il y a | 1

| A accepté

Réponse apportée
Does `imshow` just delete all other objects in the axes?
Hello, To use hold on with handles to axes, this works. hold(ax, 'on'); To assign image to axes with imshow imshow(img, 'Par...

presque 6 ans il y a | 1

| A accepté

Réponse apportée
Calling a MATLAB Application file from a terminal
You should provide only Application name, without extension. Also, it needs to be on MATLAB path.

presque 6 ans il y a | 0

Réponse apportée
Save and load alternative sets of preferences
Hi Matt, This is probably what you're looking for https://www.mathworks.com/help/matlab/matlab_external/create-custom-settings...

presque 6 ans il y a | 0

| A accepté

Réponse apportée
Plot in app designer
Everything was ok, I messed up with the reversing x and y on the comment above. Actually there was a line displayed in the plot,...

presque 6 ans il y a | 0

| A accepté

Réponse apportée
Is there a way to re-title the Matlab Editor window?
Method 3: Maybe change background color of each MATLAB instance so you can differ them. Edit: I have found a solution that ba...

presque 6 ans il y a | 1

| A accepté

Réponse apportée
Hata model, i can run the code but the graph doesn't appear at all. can someone fix it for me? thnx
Your variables f and LU are scalars, which mean that you might have miscalculated something in the code, or you are using for lo...

presque 6 ans il y a | 0

Réponse apportée
line graphed at bottom of the figure
Hello, Only the first element of FF, is not 0 which explains how the plot looks. FF = zeros(23,1); FF(1,1) = P0;

presque 6 ans il y a | 0

Réponse apportée
Appdesigner - slider changed function - missing argument
Hello, Right click on the Slider component, create a callback - ValueChangedFcn % Example text, adjust to the actual component...

presque 6 ans il y a | 0

| A accepté

Réponse apportée
Only few workers out of the pool are utilized in the end of simulation
Hello Damir, Initialise your parpool only with logical threads, or maxNumCompThreads number. In your log, some of your simula...

presque 6 ans il y a | 0

Réponse apportée
How to create new excel file if the excel file exist?
Hello, Checking if file exists, you can do by isfile function. There is a submission on FEX created by Stephen Cobeldick calle...

presque 6 ans il y a | 0

| A accepté

Réponse apportée
How do I pass struct between functions in app designer
Hello, in the properties block, initialise your variable as struct example = struct(); and refer to it within other functions...

presque 6 ans il y a | 0

| A accepté

Réponse apportée
Wait for app to close before continuing with script
Hello Frankie, Here's an example how to do it. app = NameOfApp; while isvalid(app); pause(0.1); end

presque 6 ans il y a | 6

| A accepté

Réponse apportée
Problem when running Matlab app
It's not what, it's who, and it's you. Jokes aside, post the exact error message. You might have mispelled a property of some c...

presque 6 ans il y a | 0

Réponse apportée
Changing annotation size or font
Is your piece of code in for loop? Guessing that r1(1) and r1(end) are changing and there are many different texts on top of e...

presque 6 ans il y a | 0

| A accepté

Réponse apportée
Error using matlab.ui.​control.Ed​itField/se​t.Value (line 98) 'Value' must be a character vector or a string scalar.
Hello, The component EDITED app.EntertheradiusEditField.Value is probably a Text Field, which accepts only characters/array, r...

presque 6 ans il y a | 0

| A accepté

Réponse apportée
Unrecognized property 'value' for class 'matlab.ui.control.Label'. app gui .Word to pdf converter
There's difference between EditField and EditFieldLabel, also, properties are case sensitive. Replace this in the first two cal...

presque 6 ans il y a | 0

| A accepté

Réponse apportée
What is missing from MATLAB #2 - the next decade edition
When typing code, if user wants to reference a variable or a function, one could click tab and get a matching list of functions ...

presque 6 ans il y a | 1

Réponse apportée
Calling a function with no arguments
You can achieve it this way. function function_name( var1,var2,var3) However, imagine a situation where you'd like to edit som...

presque 6 ans il y a | 0

Réponse apportée
Sinusoidal signal wave plotting
One of these will solve your issue: sind or sin MATLAB Onramp Using search tool to find an answer to your question

presque 6 ans il y a | 0

Réponse apportée
[DISCONTINUED] MATLAB Answers Wish-list #5 (and bug reports)
Create a MATLAB bot (just like Reddit bots) that posts useful information. As an example, person asks a question related to imp...

presque 6 ans il y a | 0

Réponse apportée
How to set scientific notation in data tips ?
Hello, x = 1:10 y = rand(1,10).*1000 h = plot(x,y) for ii = 1 : length(x) datatip(h, 'DataIndex', ii) end You can set...

presque 6 ans il y a | 2

| A accepté

Réponse apportée
How to transfer a Matlab2020b App to Matlab2019b or lower version?
In the App Designer toolbar, click Save and Save Copy as, then you'll get a window in which you choose Save as type. Options av...

presque 6 ans il y a | 0

Réponse apportée
Design Optimization Toolbox MATLAB based on 2 or more outputs
Use fgoalattain to minimise both functions function fobj = codeNoc(noc) %Code fobj(1) = pressure_drop; fobj(2) =...

presque 6 ans il y a | 0

Réponse apportée
How to create Timetable with .txt file?
Import tool https://www.mathworks.com/help/matlab/import_export/import-data-interactively.html

presque 6 ans il y a | 0

Réponse apportée
size() function returns wrong size
k_labels should return 1x1 array with value of zero. Did you clear workspace from previous runs? From the documentation on fun...

presque 6 ans il y a | 0

| A accepté

Charger plus