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

alrededor de 9 años hace | 1

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

más de 9 años hace | 0

| aceptada

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

más de 9 años hace | 0

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

más de 9 años hace | 0

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

más de 9 años hace | 0

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

más de 9 años hace | 0

| aceptada

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

más de 9 años hace | 0

| aceptada

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

más de 9 años hace | 0

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

más de 9 años hace | 0

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

más de 9 años hace | 0

| aceptada

Respondida
How to create a vector of length m+1?
zeros(1,m+1)

más de 9 años hace | 0

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

más de 9 años hace | 0

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

más de 9 años hace | 0

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

más de 9 años hace | 0

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

más de 9 años hace | 1

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

más de 9 años hace | 0

| aceptada

Respondida
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: ...

más de 9 años hace | 0

| aceptada

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

más de 9 años hace | 0

Respondida
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

más de 9 años hace | 1

| aceptada

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

más de 9 años hace | 0

| aceptada

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

más de 9 años hace | 0

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

más de 9 años hace | 0

| aceptada

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

más de 9 años hace | 1

| aceptada

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

más de 9 años hace | 0

Respondida
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')

más de 9 años hace | 1

| aceptada

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

más de 9 años hace | 3

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

más de 9 años hace | 0

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

más de 9 años hace | 4

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

más de 9 años hace | 0

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

más de 9 años hace | 0

| aceptada

Cargar más