回答済み
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 ...

11年以上 前 | 1

| 採用済み

回答済み
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 ...

11年以上 前 | 0

| 採用済み

回答済み
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...

11年以上 前 | 0

| 採用済み

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

11年以上 前 | 0

回答済み
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 ...

11年以上 前 | 0

回答済み
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...

11年以上 前 | 0

| 採用済み

回答済み
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, ...

11年以上 前 | 0

| 採用済み

回答済み
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...

11年以上 前 | 0

| 採用済み

回答済み
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, ......

11年以上 前 | 0

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

11年以上 前 | 0

回答済み
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...

11年以上 前 | 0

| 採用済み

回答済み
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 ...

11年以上 前 | 0

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

11年以上 前 | 0

回答済み
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...

11年以上 前 | 0

| 採用済み

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

11年以上 前 | 0

| 採用済み

回答済み
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...

11年以上 前 | 0

回答済み
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'...

11年以上 前 | 0

| 採用済み

回答済み
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...

11年以上 前 | 0

| 採用済み

回答済み
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...

11年以上 前 | 1

| 採用済み

回答済み
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...

11年以上 前 | 0

| 採用済み

回答済み
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...

11年以上 前 | 1

回答済み
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

11年以上 前 | 5

| 採用済み

回答済み
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...

11年以上 前 | 1

| 採用済み

回答済み
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...

11年以上 前 | 0

回答済み
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...

11年以上 前 | 0

回答済み
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...

11年以上 前 | 1

回答済み
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

11年以上 前 | 0

| 採用済み

回答済み
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 ...

11年以上 前 | 0

回答済み
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) ...

11年以上 前 | 2

回答済み
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...

11年以上 前 | 1

さらに読み込む