Feeds
質問
xPC-target slower than Simulink in my application?!
Hi everyone, I am running a Simulink model consisting of 3 C-mex S-functions with static linked libraries to an optimization ...
12年以上 前 | 2 件の回答 | 0
2
回答質問
Simulink user defined function: undefined variable or function
Dear all, When using a user defined Matlab function in Simulink, with the following structure: function xdot = fcn(x,u...
12年以上 前 | 1 件の回答 | 0
1
回答質問
Create a DOSloader bootable USB drive for xPC-Target
I wish to use the DOSloader option of xPC-target to boot my computer from USB DOS drive into xPC-target. This consist of 2 steps...
12年以上 前 | 1 件の回答 | 0
1
回答質問
Convert a MEX-function to an S-function
Dear all, I want to implement an opensource nonlinear solver in Simulink such that it is suitable for code-generation (XPC-ta...
12年以上 前 | 1 件の回答 | 0
1
回答回答済み
Calling mex function from within Simulink
I am running into a simular problem as described above. I am looking for more specific information on how to construct an S-func...
Calling mex function from within Simulink
I am running into a simular problem as described above. I am looking for more specific information on how to construct an S-func...
12年以上 前 | 0
質問
Call a MEX function from Simulink
Dear all, I have a .mex64 function that was build from C++ libraries (IPOPT solver) and is able to solve an optimzation probl...
12年以上 前 | 1 件の回答 | 0
1
回答質問
Pre-allocating a function since initialization is slow
Hi guys, Consider this code: clc; clear all; t2=linspace(0,pi,10); f2=cos(t2); tic; cumtrapz(t2,f2); t1=toc...
13年弱 前 | 1 件の回答 | 0
1
回答回答済み
Unconstraint optimization: providing good intial guess does not lead to lower calculation times
I can also guess that it might have something to do with the estimator of the gradient. Close to the optimum, the cost function ...
Unconstraint optimization: providing good intial guess does not lead to lower calculation times
I can also guess that it might have something to do with the estimator of the gradient. Close to the optimum, the cost function ...
13年弱 前 | 0
質問
Unconstraint optimization: providing good intial guess does not lead to lower calculation times
Dear all, I have a simple optimization problem in which I approximate a set of points by a B-spline. This is done by optimizi...
13年弱 前 | 2 件の回答 | 0
2
回答質問
Efficient Row x Collumn multiplication
Hi all, Consider the vectors: A of size; s x 4 B of size; 4 x s Now, I am only interested in the product A(i,:)*B(:,i...
13年弱 前 | 4 件の回答 | 0
4
回答質問
Create a vector with block elements of the same value
For my superfast code (no element wise evaluation of collocation points, but vector-wise) to evaluate Uniform cubic B-splines, I...
13年弱 前 | 2 件の回答 | 0
2
回答回答済み
Chap vector to matrix with special structure.
My own answer: dum=hankel(C) M=dum(1:k,1:n-k+1)
Chap vector to matrix with special structure.
My own answer: dum=hankel(C) M=dum(1:k,1:n-k+1)
13年弱 前 | 0
| 採用済み
質問
Chap vector to matrix with special structure.
I have a collumn vector consisting of n elemtents (size nx1): P=[P1 ..... Pn]' What I which to do, is transform this into ...
13年弱 前 | 2 件の回答 | 0
2
回答回答済み
Optimization: share additional output of cost function with constraint function
I found the answer after some struggeling with passing on the parameters. Here is the solution: [Cost,Nonlincontr]=Objecti...
Optimization: share additional output of cost function with constraint function
I found the answer after some struggeling with passing on the parameters. Here is the solution: [Cost,Nonlincontr]=Objecti...
13年弱 前 | 0
質問
Optimization: share additional output of cost function with constraint function
I have a well defined optimization problem in which I have a separate cost function and a separate constraint function: Cos...
13年弱 前 | 2 件の回答 | 0