Respondida
Attempted to access 0 element of data T. The valid index range is 1 to 1
Looks like a typo with all those parentheses... MATLAB thinks you're indexing into a variable named T -- for example, T(1). I...

alrededor de 11 años hace | 0

| aceptada

Respondida
Create a null bus from a bus definition
Hi Moritz, If you're using a nonvirtual bus (i.e. one whose data type is a |Simulink.Bus| object), you can use a Constant blo...

alrededor de 11 años hace | 2

| aceptada

Respondida
Script based coverage filter creation
Hi Jonatan, I found an example of this by searching around, but this doesn't seem to be documented. Hopefully this at least h...

alrededor de 11 años hace | 1

| aceptada

Respondida
Prevent update simulink diagram
As long as you're not making structural changes to the model or changing non-tunable parameters (i.e., changes that require the ...

alrededor de 11 años hace | 0

| aceptada

Respondida
How we can improve the performance of PID controller in simulink?
Do you have Simulink Control Design (SCD) installed? One of the things it provides is the <http://www.mathworks.com/discovery/pi...

alrededor de 11 años hace | 0

Respondida
how do i execute a matlab script from simulink, not a function, just an mfile to plot a graph?
Arnold, You can create <http://www.mathworks.com/help/simulink/ug/model-callbacks.html Model Callbacks> to do this. The one y...

alrededor de 11 años hace | 1

| aceptada

Respondida
Is it possible to access referenced model arguments from InitFcn callback?
Owen, That was a tough one! I think I figured out a way to do it using masks instead of the InitFcn callback. What I did ...

alrededor de 11 años hace | 0

Respondida
Simulate with varying parameter and getting a 3-D representation of it
If you open the model's configuration parameters, and go to the Data Import/Export pane, there is a set of options called <http:...

alrededor de 11 años hace | 0

Respondida
Is it possible to run seperatly script in simulink, by double click on a subsystem
For any blocks (doesn't have to necessarily be Subsystems), you can register <http://www.mathworks.com/help/simulink/ug/block-ca...

alrededor de 11 años hace | 3

Respondida
How to generate random binary numbers matrix with some decimal number constraint
You could use the |randi| function to generate a random integer in a range, and then perform scaling and offset to convert it to...

alrededor de 11 años hace | 0

| aceptada

Respondida
why current measurement block in simulink is not getting connected with components?
Where did you find that Current Measurement block? It's likely from the Simscape library, which doesn't connect directly to Simu...

alrededor de 11 años hace | 0

Respondida
Support for MATLAB functions "medfilt2" and "adapthisteq" on Simulink
Hi Sanya For C/C++ code generation, the supported functions are listed <http://www.mathworks.com/help/simulink/ug/functions-s...

alrededor de 11 años hace | 1

| aceptada

Respondida
Cant create a variable capacitor in simulink
Hi Saurabh, What version of Simulink are you using? Starting with R2014a, the initial conditions specification changed in Sim...

alrededor de 11 años hace | 2

| aceptada

Respondida
Help needed on Train dynamics model
There is a simple Simulink-based example <http://ctms.engin.umich.edu/CTMS/index.php?example=Introduction&section=SimulinkContro...

alrededor de 11 años hace | 0

Respondida
Communication between Java and Matlab Simulink Stateflow?
Hi Yi-Zong, First thing I would ask you to do is check whether you have Instrument Control Toolbox, as this provides built-in...

alrededor de 11 años hace | 0

Respondida
How can I use the Cycloidal Drive block from Simscape in a SimMechanics model?
Hi Morgan, The Cycloidal Drive block is a SimDriveline block, which means it connects directly to other Simscape mechanical b...

alrededor de 11 años hace | 1

| aceptada

Respondida
Exporting a custom library in Simulink
Hi Tim, I take it that you're able to open up the previous user's library, right? If you don't have the exact filename of ...

alrededor de 11 años hace | 0

| aceptada

Respondida
How do I work with timeseries as input for my model?
Hi Joel, If you're using an <http://www.mathworks.com/help/simulink/slref/inport.html Inport> block to load the data, there's...

alrededor de 11 años hace | 0

Respondida
Need help in converting this subsystem to model
Hi Saurabh, The physical connection ports (i.e. what you see in SimPowerSystems) are not yet supported for crossing nonvirtua...

alrededor de 11 años hace | 0

Respondida
How to get matlab to open a file based on its file type?
Hi Daniel, The easiest thing off the top of my head is the FILEPARTS function, which works like this: [pathstr,name,ext]...

alrededor de 11 años hace | 0

Respondida
Double Circuit Line Modelling
Hello, You only have to use a matrix if the line is asymmetric. The <http://www.mathworks.com/help/physmod/sps/powersys/re...

más de 11 años hace | 0

| aceptada

Respondida
How do I call "frd" for discrete time?
Hi Mark, I think you may need to discretize the system *M_g* first using <http://www.mathworks.com/help/control/ref/c2d.html ...

más de 11 años hace | 0

Respondida
Running fcn.m file in a block on simulink
Yael, If you want this to just run within the MATLAB environment (i.e., you're not generating code from your model), you can ...

más de 11 años hace | 0

| aceptada

Respondida
How can I export the state-space model of a simulink model?
If you want to convert a Simulink model to a set of state-space equations, you can linearize it using the Simulink Control Desig...

más de 11 años hace | 0

| aceptada

Respondida
Could you please provide the phasor model of Wind Farm - Synchronous Generator & Full Converter (Type IV)
Venkatesh, Phasor mode would not work directly with this model, because power electronics are not supported for phasor simula...

más de 11 años hace | 0

| aceptada

Respondida
Using Model Explorer with Model References
Are you using R2014a or later? In this version, Model Explorer gained the ability to search through referenced models. If you l...

más de 11 años hace | 0

Respondida
V&V in model based design
Hello Seongjoo, (Sorry if this does not fully answer your question, as I used Google Translate) Verifying your model can s...

más de 11 años hace | 0

Respondida
How to use 1D look-up table for NON-monotonously increasing functions?
Karthik, You could sort the vectors in MATLAB before you put them in the Lookup Table block. >> x = [1 2 5 3 4]; ...

más de 11 años hace | 1

Respondida
How to eval expressions in Simulink Data Dictionaries
Hello Klaus, MathWorks _is_ planning on adding this feature in a future release, but right now there isn't anything visible, ...

más de 11 años hace | 0

Respondida
How can I access the data from the LOAD FLOW Analysis tool in the Powergui from the MATLAB command (R2014a)?
Lilia, You can use the <http://www.mathworks.com/help/physmod/sps/powersys/ref/power_loadflow.html power_loadflow> command on...

más de 11 años hace | 0

| aceptada

Cargar más