Réponse apportée
Output matrix to x/y/cell value
Hi Martin, are you looking for something like this: >> A = rand(2,3) A = 0.2020 0.3507 0.0538 0.2103 ...

plus de 11 ans il y a | 1

| A accepté

Réponse apportée
Mex function help for mexfile function
Hi, exactly answering your question: no, that's the way it works. You have basically two options: * Add the mex folder ...

plus de 11 ans il y a | 0

| A accepté

Réponse apportée
How can I access the methods of a returned object?
Hi, no, that's not possible. It's like with numeric arrays: you can't index into the result of a function directly. Suppose y...

plus de 11 ans il y a | 0

| A accepté

Réponse apportée
Simulating C MEX S-Function causes crash
Hi, I'm not sure why you added the line if(!ssSetOutputPortDimensionInfo(S,outputPortIdx,DYNAMIC_DIMENSION)) return; ...

plus de 11 ans il y a | 0

Réponse apportée
How to control simulink with fmincon using 2 (two) decision variables
Hi, do you have other variables in your model apart from cr and tr? If not, you should select 'current' for SrcWorkspace and ...

plus de 11 ans il y a | 0

Réponse apportée
How can I run Matlab completely quiet?
Hi Jette, I'm pretty sure there is no way to do this with MATLAB only. If you happen to have the MATLAB compiler you could us...

plus de 11 ans il y a | 0

| A accepté

Réponse apportée
Trouble linking against MatLab .dll
Hi Ulrich, is the folder where you found the libMat.dll on your Windows PATH (when you open CMD window, enter PATH). If not, ...

plus de 11 ans il y a | 0

| A accepté

Réponse apportée
mex fcn makes trouble ...
Hi, if I see it correctly your result arrays are too small: pout[0] = mxCreateDoubleMatrix((mwSize)(2*len_1 - 1), (mwSiz...

plus de 11 ans il y a | 0

| A accepté

Réponse apportée
Attempted to access x(2); index out of bounds because numel(x)=1 for an ODE function
Hi, you will need to change the order of variables: your function dx should look like function dx = dx(t, x, m1, m2, ......

plus de 11 ans il y a | 0

Réponse apportée
How can I animate my 3d surface like this?
Hi, take a look at the function doc VideoWriter which includes a simple example. Titus

plus de 11 ans il y a | 0

Réponse apportée
comparing two strings with Database?
Hi, just guessing: your DB1 is one row of your database? And you are looking for rows, in which you find both an occurrence o...

plus de 11 ans il y a | 0

| A accepté

Réponse apportée
How to get a set of numbers with the first and the last absolute difference are the same and etc.
Hi, the problem is not generally solvable (without additional flexibility/requirements): a = [3 5 1 4 2] a = 3 ...

plus de 11 ans il y a | 0

Réponse apportée
Matlab Web based applications
Hi Tamim, unfortunately this is not possible. The products mentioned above by Viswanath help you *integrate* your MATLAB func...

plus de 11 ans il y a | 0

Réponse apportée
mzXMLread fails and tells me a 'Java exception occured'
Hi, I would suggest to contact MathWorks technical support. They should be able to find out, if there is something wrong with...

plus de 11 ans il y a | 0

| A accepté

Réponse apportée
Which function make vectorization ,(after this function not need dot )?
Hi, you are looking for the function name? doc times doc power Titus

plus de 11 ans il y a | 0

| A accepté

Réponse apportée
Cell Arrays operation in level-2 matlab S-function for code generation
Hi Nick, yes, you can "inline" MATLAB S-functions with a .tlc file, see <http://www.mathworks.com/help/releases/R2014b/rtw/t...

plus de 11 ans il y a | 0

Réponse apportée
dynamic y-tick label
Hi Yona, what you can do is to add a callback to your zoom function, i.e., h = zoom(fig); set(h, 'ActionPostCallback'...

plus de 11 ans il y a | 0

| A accepté

Réponse apportée
Error calling a DLL from MSVS C++ 2010
Hi, it looks indeed as from R2013b: the folder mcrCache8.2 tells you it relates to MCR version 8.2 of the MATLAB compiler, an...

plus de 11 ans il y a | 0

| A accepté

Réponse apportée
Problem with accessing C# dll files
Hi, if you have a C# dll I guess it's not a usual Windows dll but a .NET assembly? In this case you would need to use N...

plus de 11 ans il y a | 1

| A accepté

Réponse apportée
Install a compiler to rum mex file
Hi Ahmed, you will find the list <http://www.mathworks.com/support/compilers/release2009a/ here>. R2009a did not know anythin...

plus de 11 ans il y a | 0

| A accepté

Réponse apportée
assign loaded structs directly
Hi, not really. But what you can do is to save the data as individual variables originally. So when you save your structure O...

plus de 11 ans il y a | 1

Réponse apportée
access cell array inside another cell array
Hi Steffen, nested indexing should work: A = cell(1,94); A{4} = cell(600, 27); b = A{4}{600,27} Titus

plus de 11 ans il y a | 5

| A accepté

Réponse apportée
Problems with legend in R2014b
Hi John, regarding the second question: if you click on the arrow next to the printer icon you get into the edit mode. Then y...

plus de 11 ans il y a | 1

| A accepté

Réponse apportée
compiling matlab code: works in Matlab but not in cmd.exe
Hi, I just made another test: replacing gmdistribution.fit by fitgmdist (as the help for gmdistribution.fit suggests, because...

plus de 11 ans il y a | 0

Réponse apportée
compiling matlab code: works in Matlab but not in cmd.exe
Hi, I'm not sure yet about the parfor part of the question. You are right, the compiler should pick up the code automatically...

plus de 11 ans il y a | 0

Réponse apportée
My uimenu list (a vertical child menu list) is too long to fit on my monitor
Hi, no, you don't have this option. I would suggest to have the uimenu entry create a new dialog to select from (using e.g. l...

plus de 11 ans il y a | 1

Réponse apportée
Is there any way how to integrate a double variable
Hi, for a vector gap1 you can use the function trapz as a simple way of integrating... Titus

plus de 11 ans il y a | 0

| A accepté

Réponse apportée
Using Optimization Toolbox with unknown function.
Hi, as Star Strider said, you must have an objective function. This does not mean you have to have an explicit function, but ...

plus de 11 ans il y a | 0

Réponse apportée
Which function can be used?
Hi Dinesh, yes you can. Implement the right hand side of your equation as a function of the form function dA = f(t,A) ...

plus de 11 ans il y a | 2

Réponse apportée
How to control the number of inputs in a function
Hi Marjan, the problem is that you cannot capture too many input variables inside the function because the error already occu...

plus de 11 ans il y a | 1

Charger plus