A répondu
I have only non-linear eqality constraints
Did you try making it empty? For example: function [c,ceq]=nonLinearConstraints(x) c=[]; ceq=...

environ 9 ans il y a | 1

A répondu
Working Backwards with Simulink?
<http://www.mathworks.com/products/sysid/ System Identification Toolbox> You might want to start by watching the webinar.

environ 9 ans il y a | 0

| A accepté

A répondu
Calculate kw/h with Matlab Simulink
Though you did not show your whole circuit, it looks like your current sensor is connected incorrectly. In order to measure cur...

environ 9 ans il y a | 0

A répondu
ODE solvers - passing parameters
I think your initial condition should be w0 instead of y0. [t,w]=ode45(@(t,w)nlsmsys(t,w,Mm,M0,ks,alpha,kappa,nmax,mmax,lx,...

environ 9 ans il y a | 0

A répondu
error while executing Mat lab commend
Type _which chebfun2_. If it says the function is not found, it means you may not have the package you need installed. You c...

environ 9 ans il y a | 0

A répondu
how to write code for power electronics concepts
<http://www.mathworks.com/help/physmod/sps/examples.html SimPowerSystems Examples> <http://www.mathworks.com/matlabcentral/fi...

environ 9 ans il y a | 0

| A accepté

A répondu
Allowing no more than 1 invocation of a simulink block (that does I/O) in a model.
Make that block its own model. Reference the block from your top level model. Then set the "Total number of instances allo...

environ 9 ans il y a | 0

| A accepté

A répondu
Unable to unclude special characters in the value of a parameter
It used to be called <http://www.mathworks.com/help/matlab/ref/genvarname.html genvarname()>. It looks like in newer versions...

environ 9 ans il y a | 0

A répondu
How to load this file into my Matlab? Can any1 please help thanks
Type uiimport at the command line Select your file Setup the parameters the way you want to import your data correctly ...

environ 9 ans il y a | 0

A répondu
How to get 2 angle values for an asin?
>> syms x >> solve('0.5 = sin(x)',x) ans = 0.52359877559829887307710723054658 2.617993877991494365385...

environ 9 ans il y a | 0

| A accepté

A répondu
How to create a vector of length m+1?
zeros(1,m+1)

environ 9 ans il y a | 0

A répondu
Simulink DC motor model units confusion
Radians are a <http://en.wikipedia.org/wiki/Dimensionless_quantity dimensionless quantity>, since they are calculated as arc len...

environ 9 ans il y a | 0

A répondu
C# matlab lost output after exit() call
In my experience, exit() kills MATLAB. I usually rewrite my code in such a way that I can just use a _return_ from it instead s...

environ 9 ans il y a | 0

A répondu
in case of permanent magnet synchronous motor what is the need of Tm?
If you are intending to use it as a motor, then you would apply a voltage to it and want to see some mechanical torque (Tm) come...

environ 9 ans il y a | 0

A répondu
GA Optimization running. Error running optimization. Not enough input arguments. what to do
function [s_star,f_star,d_star]=find_optim() nvars=3; %s, f, d options=gaoptimset(@ga); % defaults, but you w...

environ 9 ans il y a | 1

A répondu
View progress of simulation when using sim command
Perhaps try the <http://www.mathworks.com/matlabcentral/fileexchange/9738-simulink-waitbar Simulink Waitbar> example on the File...

environ 9 ans il y a | 0

| A accepté

A répondu
Call a Simulink simulation from shell
Step 1) Write your function in MATLAB that takes your file names and runs your simulation. It would look something like this: ...

plus de 9 ans il y a | 0

| A accepté

A répondu
How to connect supercapacitor from Simpowersystem and voltage sensor from simscape
SimPowerSystems has it's own <http://www.mathworks.com/help/physmod/sps/powersys/ref/voltagemeasurement.html Voltage Measurement...

plus de 9 ans il y a | 0

A répondu
symbolically differentiating of a function not to be mixed with other constants
syms r c1 c2 p=c1*r+c2/r diff(p,r) _________________ ans = c1 - c2/r^2

plus de 9 ans il y a | 1

| A accepté

A répondu
Struggling With Genetic Algorithms in Matlab
If you have the Global Optimization Toolbox, then there are quite a few tutorials and example projects on the <http://www.mathwo...

plus de 9 ans il y a | 0

| A accepté

A répondu
Multiple Simulations with only one model compile
You mean in Simulink? Yes, that is what the <http://www.mathworks.com/help/simulink/ug/what-is-acceleration.html Accelerator> i...

plus de 9 ans il y a | 0

A répondu
Native Matlab boundary function not working, can someone run it please :)
Those are not the same boundary function, as you can see because the help descriptions are different. The _boundary_ you ha...

plus de 9 ans il y a | 0

| A accepté

A répondu
SimPowerSystem, how can I use parameters inside a block?
<</matlabcentral/answers/uploaded_files/20284/Matlab_Define_Lm.JPG>>

plus de 9 ans il y a | 1

| A accepté

A répondu
Matlab 2014a 32-bit mex -setup issue to install Visual 2008 Express edition
It appears that Visual Studio 2008 Express is not compatible with 2014a. It is not in the verbose list you show, nor is it o...

plus de 9 ans il y a | 0

A répondu
How do you load a mat file when ou open a model?
In Simulink: File->Model Properties->Callbacks->PreLoadFcn put your m code there, such as: load('myfile.mat')

plus de 9 ans il y a | 1

| A accepté

A répondu
Can I supress an 'ans' output without making a void function?
Use a semicolon. TimeConversion(51624); or [out1, out3] = TimeConversion(82000);

plus de 9 ans il y a | 3

A répondu
signal from matlab to simulink
Did you try a <http://www.mathworks.com/help/simulink/slref/fromworkspace.html From Workspace> block?

plus de 9 ans il y a | 0

A répondu
get the Model name which is already opened
>> help gcs gcs Get the full path name of the current Simulink system. gcs returns the full path name of the curren...

plus de 9 ans il y a | 4

A répondu
How to use add_block function to add a new block into the subsystem?
Perhaps you need to unlock the libaray? set_param('library_name', 'Lock', 'off'); I can't test it right now, but library...

plus de 9 ans il y a | 0

A répondu
Executing Simulink Code before the Simulation
1) You can use a <http://www.mathworks.com/help/simulink/slref/clock.html Clock> block with a <http://www.mathworks.com/help/sim...

plus de 9 ans il y a | 0

| A accepté

Charger plus