Respondida
How to open a file browser in a MATLAB script?
doc uigetfile doc fullfile

casi 10 años hace | 1

| aceptada

Respondida
How do I make compiled mex files take precedence over m files when using Matlab Compiler?
Are you adding the MEX files to the CTF with the -a option in |mcc| (or as "Other files" in the app)?

casi 10 años hace | 0

Respondida
Unique values in an array, with specific digits
Starting in R2016b this is _much_ easier with the |string| class. x = [1234; 1256; 1334] s = string(x) unique(extractBe...

casi 10 años hace | 0

Respondida
Imshow in appdesigner?
The ability to show images is new in R2016b, so you need to be on that release. You use imshow by explicitly parenting to the...

casi 10 años hace | 9

| aceptada

Respondida
APP DESIGNER 2016a: Sending variables into an App from a script/function
I would have the app call the function that collects the serial data. The serial data collection should be completely independe...

casi 10 años hace | 1

| aceptada

Respondida
What files are necessary to re-deploy a standalone application with runtime already installed?
If the MATLAB Runtime for R2015b is already installed, then multiple applications (all compiled with 15b), including updates to ...

casi 10 años hace | 0

| aceptada

Respondida
How can I remove elements divisible by 3,4, and 5 in a vector?
x = 1:50; x([3:3:50,4:4:50,5:5:50]) = []

casi 10 años hace | 1

| aceptada

Respondida
Automatic update of matlab figure in powerpoint
This can be done easily with the MATLAB Report Generator powerpoint api <https://www.mathworks.com/help/releases/R2016b/rptge...

casi 10 años hace | 0

| aceptada

Respondida
Function variable -> cftool import data.
function blah=testgetvar(a,b,c) x=1:100; y=x.*a+b.*rand(1,100)+c*ones(1,100); cftool(x,y) keyboard

casi 10 años hace | 0

Respondida
Case insensitive enumeration class
You could use a |containers.Map| to use non-MATLAB variable names if you want: mapper = containers.Map('enumclass.A/B','A')...

casi 10 años hace | 1

Respondida
How to discretize?
bins = 0:10:100; x = [51,42,43,56,76,54,34,56,78,80] newx = bins(discretize(x,bins))

casi 10 años hace | 0

| aceptada

Respondida
Removing objects in bw scene that have not appeared in the previous bw scene
Could you use a logical |xor()|. I.e. exclusively in one frame and not the other?

casi 10 años hace | 0

Respondida
How do I see how many times a button has been pressed in App Designer?
Add a property to the app and increment it by 1: app.NumberOfTimesButtonHit = 0; In call back app.NumberOfTimexButt...

casi 10 años hace | 4

| aceptada

Respondida
Use Import's automatic table detection programatically
Have you tried |readtable|?

casi 10 años hace | 0

Respondida
parfor supply error (no error with for)
My guess is that parfor is unable to determine what variables it needs due to how you called |load|. Instead call load with an ...

casi 10 años hace | 0

Respondida
Matlab & Web Integration
The use case you just described is the whole purpose of Compiler SDK and MATLAB Production Server. <http://www.mathworks.com/...

casi 10 años hace | 1

Respondida
Optimization: solving ODE in objective function, how to pass solution to nonlinear constraint function?
Use nested functions: <http://www.mathworks.com/help/releases/R2016a/optim/ug/passing-extra-parameters.html>

casi 10 años hace | 1

| aceptada

Respondida
Does matlab have a tool to translate code from Spanish to English?
No it does not. This will be a semimanual process unfortunately. Find and replace will be your friend.

casi 10 años hace | 0

Respondida
listener on graphics property 'BeingDeleted'
How about just listening for _'ObjectBeingDestroyed'_? addlistener(h,'ObjectBeingDestroyed',@(varargin)(disp('deleted'))) ...

casi 10 años hace | 0

Enviada


Introduction To MATLAB (February 2015)
These are the files for the "Introduction To MATLAB" webinar which debuted in February 2015.

casi 10 años hace | 1 descarga |

4.9 / 5
Thumbnail

Enviada


Numeric Editbox
This class provides a numeric editbox uicontrol.

casi 10 años hace | 1 descarga |

0.0 / 5
Thumbnail

Enviada


File Exchange Search Utility
Query the file exchange or open a specific file

casi 10 años hace | 1 descarga |

0.0 / 5
Thumbnail

Enviada


Editor Templates Package
Tools for the creation, storage, and use of templates for code that you use frequently.

casi 10 años hace | 2 descargas |

5.0 / 5
Thumbnail

Resuelto


Add a block to a model
Produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/add-block-eqn.png>> In this case, the slope of...

casi 10 años hace

Respondida
How do i plot and label a graph using secondary axis in matlab
U=[1 2 3 4 5 6 7 8]; A=[0.0141 0.0135 0.013 0.0125 0.012 0.0117 0.0113 0.011]; B=[0.142267 0.14271177 0.1430866 0.14334375 0...

casi 10 años hace | 0

| aceptada

Respondida
Trouble with padarray and padarray_algo
>>which -all padarray_algo C:\Program Files\MATLAB\R2016a\toolbox\images\images\private\padarray_algo.m % Pr...

casi 10 años hace | 0

Respondida
How to cut a sparse gpuArray
For the sparsity level of that matrix ~50%, the sparse array is much bigger than a regular array: x = randi(1,100,100); xs...

casi 10 años hace | 0

Respondida
N doesn't increase in 'for loop'
t = zeros(1,10); t(1:10) = 3 This is what you're doing. You're setting all of the indices (1:100) equal to n. Thus only ...

casi 10 años hace | 0

| aceptada

Respondida
(How) can I get a numerical solution for an ODE (e.g. using ode15s) that respects monotonicity?
Have you tried defining every point in _tspan_? tspan = linspace(0,500,100000); You could perhaps sample it more often n...

casi 10 años hace | 0

Respondida
Formatting Bar Graph so XLabels aren't plotted on top of one another?
I might recommend using subplots and horizontal bars. y = rand(80,1); names = cellstr(char(randi(26,80,30)+64)); ax =...

casi 10 años hace | 0

Cargar más