Skip to main content

All Questions

Tagged with
1 vote
1 answer
78 views

compiler.runtime.customInstaller fails to reduce mcr installer size

I have a matlab toolbox, with a single-window GUI. I was able to build it mcc/deploytool to create a standalone 7MB executable. However, I was not happy for the installer size, as the R2016 matlab ...
FangQ's user avatar
  • 1,544
3 votes
1 answer
56 views

Matlab slider uicontrol: make a slider "loop back" for angles reaching 2pi or zero

I am making a user interface with an input that represents an angle, to be set with uicontrol slider elements. It is expected that angles can wrap around the circle, so I would like that when the user ...
Philippe Garteiser's user avatar
0 votes
0 answers
100 views

set input value from GUI into global variable in matlab

i have problem with matlab gui that when i set it global variable not work and not shown in work space table also i would to use it in more than function how to use it i tryed this code but not worked ...
elgamal's user avatar
0 votes
2 answers
2k views

Plot bode inside UI axes of Matlab's app designer

I am creating a UI on app designer and I want to plot a bode in my UI.axes. This figure contains two plots (magnitude, phase) and what I want to do is to plot each plot in different ui.axes. I've ...
Shorty Beast's user avatar
0 votes
1 answer
635 views

MATLAB GUI - how to make a button change a value then close window

I am doing data processing from experiments, some data cannot be detected and given a 'type'. For this data I have made a GUI that plots the relevant data and allows the user to manually specify what ...
Philip's user avatar
  • 16
-1 votes
1 answer
266 views

How to convert group of .dat file has 16bit integer data to group of .txt file?

I have a group of .dat files I need to convert to .txt files. I have a directory called "data" that has "210" files (0.dat, 1.dat, ......210.dat), I want to convert these .dat ...
ABDULWAHHAB ESSA HAMZAH's user avatar
1 vote
1 answer
1k views

Matlab App Designer Callback function keeps resetting plot with a double click to position it is first set at

I recently converted an app originally designed in GUIDE into App Designer. I did not write the original code, and due to the conversion I'm at a bit of a loss on how to even search for an answer to ...
etgriffiths's user avatar
4 votes
1 answer
3k views

Is there a way to change the current axes object in matlab without affecting the uistack ordering?

Matlab provides a function called uistack for arranging UI objects in the depth direction (which objects are in front of which others, etc). There is also a function (axes) for setting the current ...
Jed's user avatar
  • 303
1 vote
0 answers
320 views

How to rescale a STL surface in Matlab

I've imported a STL file in Matlab with the function stlread. My question is, how can we rescale it with an arbitrary size factor (for instance, suppose you want to halve its dimensions)? Here there ...
Kinka-Byo's user avatar
  • 137
2 votes
1 answer
2k views

How to zoom in or magnify programmatically in MATLAB plot graph?

I'm working on a script, where I need to show graph of Fixed Point Iteration and want to zoom in where lines are plotting. Graph is done, it is plotting lines on my graph, problem is that I want to ...
user13927150's user avatar
0 votes
1 answer
290 views

How to pass the numerical values inputted from a GUI to a .m file?

I'm trying to write a code in my .m/ GUI file that can pass a certain value obtained from an "edit text" field (called "edit 1") in GUI when I press a push button - to a .m file. ...
yacika's user avatar
  • 11
0 votes
2 answers
2k views

How do you make a MATLAB's `uifigure` appear in the center of the screen?

One can easily use the Position property to place a uifigure in the specified location of the screen. E.g., fig = uifigure('Position',[1,1,300,300]);. Is there any way to place it immediately on the ...
ashkan's user avatar
  • 476
1 vote
1 answer
2k views

Creating a dropdown menu in inputdlg box

I have this Matlab code: prompt = {'Enter period:','Enter frequency:'}; dlgtitle = 'Input'; dims = [1 35]; definput = {'3000','10'}; answer = inputdlg(prompt,dlgtitle,dims,definput) I want to create ...
A.Sim's user avatar
  • 89
0 votes
0 answers
172 views

Any way to make a global wrapper code for all callbacks in App Designer?

I am in the process of migrating a GUI I created using MATLAB's GUIDE to App Designer (2019b). In GUIDE, I added code to the main function that would wrap around any action taken using the GUI. The ...
David K's user avatar
  • 1,346
2 votes
0 answers
27 views

Matlab Engine API OpenSingleUseFunction() and OpenEngineFunction() timeouts in 2 minutes

When I launch the Matlab tool in Windows machine, the tool launches but it is in "Initializing" phase for 4-5 minutes. The tool will not respond to any user commands. The issue could be due to usage ...
user avatar

15 30 50 per page
1
2 3 4 5
85