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

oltre 11 anni fa | 1

| accettato

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

quasi 12 anni fa | 0

| accettato

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

quasi 12 anni fa | 0

| accettato

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

quasi 12 anni fa | 0

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

quasi 12 anni fa | 0

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

quasi 12 anni fa | 0

| accettato

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

quasi 12 anni fa | 0

| accettato

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

quasi 12 anni fa | 0

| accettato

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

quasi 12 anni fa | 0

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

quasi 12 anni fa | 0

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

quasi 12 anni fa | 0

| accettato

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

quasi 12 anni fa | 0

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

quasi 12 anni fa | 0

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

quasi 12 anni fa | 0

| accettato

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

quasi 12 anni fa | 0

| accettato

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

quasi 12 anni fa | 0

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

quasi 12 anni fa | 0

| accettato

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

quasi 12 anni fa | 0

| accettato

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

quasi 12 anni fa | 1

| accettato

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

quasi 12 anni fa | 0

| accettato

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

quasi 12 anni fa | 1

Risposto
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

quasi 12 anni fa | 5

| accettato

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

quasi 12 anni fa | 1

| accettato

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

quasi 12 anni fa | 0

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

quasi 12 anni fa | 0

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

quasi 12 anni fa | 1

Risposto
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

quasi 12 anni fa | 0

| accettato

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

quasi 12 anni fa | 0

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

quasi 12 anni fa | 2

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

quasi 12 anni fa | 1

Carica altro