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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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...
12 years 前 | 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 ...
12 years 前 | 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...
12 years 前 | 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...
12 years 前 | 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...
12 years 前 | 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)
12 years 前 | 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 ...
12 years 前 | 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...
12 years 前 | 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...
12 years 前 | 2 个回答 | 0