Réponse apportée
How to open a file browser in a MATLAB script?
doc uigetfile doc fullfile

presque 10 ans il y a | 1

| A accepté

Réponse apportée
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)?

presque 10 ans il y a | 0

Réponse apportée
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...

presque 10 ans il y a | 0

Réponse apportée
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...

presque 10 ans il y a | 9

| A accepté

Réponse apportée
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...

presque 10 ans il y a | 1

| A accepté

Réponse apportée
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 ...

presque 10 ans il y a | 0

| A accepté

Réponse apportée
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]) = []

presque 10 ans il y a | 1

| A accepté

Réponse apportée
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...

presque 10 ans il y a | 0

| A accepté

Réponse apportée
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

presque 10 ans il y a | 0

Réponse apportée
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')...

presque 10 ans il y a | 1

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

presque 10 ans il y a | 0

| A accepté

Réponse apportée
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?

presque 10 ans il y a | 0

Réponse apportée
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...

presque 10 ans il y a | 4

| A accepté

Réponse apportée
Use Import's automatic table detection programatically
Have you tried |readtable|?

presque 10 ans il y a | 0

Réponse apportée
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 ...

presque 10 ans il y a | 0

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

presque 10 ans il y a | 1

Réponse apportée
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>

presque 10 ans il y a | 1

| A accepté

Réponse apportée
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.

presque 10 ans il y a | 0

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

presque 10 ans il y a | 0

A soumis


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

presque 10 ans il y a | 1 téléchargement |

4.9 / 5
Thumbnail

A soumis


Numeric Editbox
This class provides a numeric editbox uicontrol.

presque 10 ans il y a | 1 téléchargement |

0.0 / 5
Thumbnail

A soumis


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

presque 10 ans il y a | 1 téléchargement |

0.0 / 5
Thumbnail

A soumis


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

presque 10 ans il y a | 2 téléchargements |

5.0 / 5
Thumbnail

A résolu


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

presque 10 ans il y a

Réponse apportée
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...

presque 10 ans il y a | 0

| A accepté

Réponse apportée
Trouble with padarray and padarray_algo
>>which -all padarray_algo C:\Program Files\MATLAB\R2016a\toolbox\images\images\private\padarray_algo.m % Pr...

presque 10 ans il y a | 0

Réponse apportée
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...

presque 10 ans il y a | 0

Réponse apportée
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 ...

presque 10 ans il y a | 0

| A accepté

Réponse apportée
(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...

presque 10 ans il y a | 0

Réponse apportée
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 =...

presque 10 ans il y a | 0

Charger plus