Réponse apportée
How could I see the values of global variables used in App Designer?
You can use eval to retrieve the value. You should not be using eval, but the same goes for global variables. Especially with...

presque 3 ans il y a | 0

Réponse apportée
¿Is it possible to run a Matlab code on a computer that does not have Matlab installed?
I'm aware of these options, each with their own downsides: * Matlab Online will be the most consistent * If you have Compi...

presque 3 ans il y a | 0

Réponse apportée
I am not able to open any of my file.
Delete or rename that class.m file. Creating files with names matching Matlab functions always caries this risk, but basic fu...

presque 3 ans il y a | 2

| A accepté

Réponse apportée
I want to create a folder in app designer through the folder browser,so how to make the folder browser display.
Perhaps you mean something like uigetdir?

presque 3 ans il y a | 0

Réponse apportée
counting How many times a letter apear in a notepad text?
txt = 'The quick broWn fox jUmps oVer the lazy dog 1 2 3 4 5 6 7 8 9 0'; Edges = double(['a':'z' 'A':'Z' '0123456789']) + [-0.5...

presque 3 ans il y a | 0

| A accepté

Réponse apportée
Iterate through a meshgrid to calculate things based on those coordinates
If you use an index you can iterate through the array: for n=1:numel(X) x=X(n); y=Y(n); end

presque 3 ans il y a | 0

Réponse apportée
Is it possible to pan an imagesc output programmatically in a manner analogous to the zoom function?
You can set the XLim and YLim properties (of the axes object). That should replicate a repeatable pan.

presque 3 ans il y a | 0

| A accepté

Réponse apportée
How to use the .p file for simulation and generation code
Matlab functions are called by name, so if you change the name you need to change the call as well. The best way would be to cha...

presque 3 ans il y a | 0

Réponse apportée
How to save image to local file from matlab workspace after using Image Segmenter App?
If you have the result in a variable, you can use the imwrite function to write an image file. See the documentation for example...

presque 3 ans il y a | 0

| A accepté

Réponse apportée
Convert this array of numbers into a list?
doc reshape Or even just (:).

presque 3 ans il y a | 1

Réponse apportée
How do I extract a decimal value from a 8 byte binary dicom tag?
You will need the typecast function: typecast(uint8([0 0 0 0 129 167 13 64]),'double') This will conver the variable to a diff...

presque 3 ans il y a | 3

| A accepté

Réponse apportée
If statement to plot sections of simpsons 1/3 method only plots one area.
Without explicit handles, most graphics functions revert to the normal figures. You should try providing the handle to your uiax...

presque 3 ans il y a | 0

Réponse apportée
I get an error when l created a standalone application,What caused it and how do l fix it?
You are not testing whether the input text is actually a scalar. It is also not recommended to use this syntax, since it allows ...

presque 3 ans il y a | 0

| A accepté

Réponse apportée
Quiero generar un archivo de texto de la variable z que contiene en caracteres un nombre. Pero el archivo generado .txt me salen números decimales y yo quiero todo el texto
If you want to write text, you need to write text. You either need to convert your variable to char, or use fprintf with an appr...

presque 3 ans il y a | 0

Réponse apportée
post hoc testing Bonferroni correction after a repeated measure ANOVA
In R2020a, this parameter was called CType, not CriticalValueType. You can find the release-specific documentation page here.

presque 3 ans il y a | 0

| A accepté

Réponse apportée
Save multiple variables into single -Ascii File with different column of [x:y:z]
Either use writematrix, or use fprintf. See the documentation for examples. If you use fprintf, be aware that it will go throug...

presque 3 ans il y a | 1

| A accepté

Réponse apportée
2 Different GUI needs the same inputs
There is no general solution to do this, because the two instances of Matlab are separate. If Matlab were able to do this, it c...

presque 3 ans il y a | 1

Réponse apportée
How to sum of the values of z corresponding to the ranges of x and y?
If your ranges grow more complex, you should try to define groups so you can use splitapply. But for this simple example you can...

presque 3 ans il y a | 0

Réponse apportée
Subtract all values from one structure from another structure
The only way I can think of is looping through the fields: %% create the structure data.x=(0:5); data.y=(0:3:33); data1.x=(0...

presque 3 ans il y a | 0

| A accepté

Réponse apportée
Handle to a Property or field
The only way I can think of is to make that property contain an object of a handle class. Other than that, no, because you can o...

presque 3 ans il y a | 0

| A accepté

Réponse apportée
Error in import data
You didn't form the file names properly, so you were trying to read files that don't exist. You're also overwriting the results....

presque 3 ans il y a | 1

| A accepté

Réponse apportée
How can I plot graph using external function?
If you have trouble with Matlab basics you may consider doing the Onramp tutorial (which is provided for free by Mathworks). In...

presque 3 ans il y a | 0

| A accepté

Réponse apportée
App Designer advanced or comprehensive tutorial for audio input, processing, display and control
A GUI is not something special. It is only a tool to gather user inputs before calling your function and display the output of t...

presque 3 ans il y a | 0

Réponse apportée
I got a strange answer when I use Matlab to calculate the quotient of two decimal places
Welcome to the world of floats and finite precision. The reason is that some numbers can't be represented exactly by the doub...

presque 3 ans il y a | 1

| A accepté

Réponse apportée
dot indexing in a function handle
You will have to write a wrapper that can select an output for you. There is no built-in functionality to do so. Some like this...

presque 3 ans il y a | 0

| A accepté

Réponse apportée
Matlab will not start after installing update 5 for Matlab 2022b
I have sometimes had this when my anti-virus decided Matlab was a virus. You could check the quarantine (or whatever your AV cal...

presque 3 ans il y a | 0

Réponse apportée
Warning: X does not support locale en_US.UTF-8
Isn't X the window management system? That would suggest this is not necessarily related to Matlab itself. This thread is for U...

presque 3 ans il y a | 0

Réponse apportée
How do I receive modelling help/support for my Master Thesis Project?
I think the guidelines for posting homework (which you can find here) would also apply in this situation. You will have to thin...

presque 3 ans il y a | 0

| A accepté

Réponse apportée
How to take multiple input using Edit Field (Text), MATLAB app designer?
Your function lacks any form of documentation, so a user must just guess what the required input format is. In the case of well_...

presque 3 ans il y a | 0

| A accepté

Réponse apportée
Which requirements should be met when creating and using a function?
For my minify function I needed to construct a full list of all legal syntaxes, so I just tried them all. function[a,b]=f1(c,d)...

presque 3 ans il y a | 0

| A accepté

Charger plus