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

etwa 11 Jahre vor | 0

| akzeptiert

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

etwa 11 Jahre vor | 2

| akzeptiert

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

etwa 11 Jahre vor | 1

| akzeptiert

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

etwa 11 Jahre vor | 0

| akzeptiert

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

etwa 11 Jahre vor | 0

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

etwa 11 Jahre vor | 1

| akzeptiert

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

etwa 11 Jahre vor | 0

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

etwa 11 Jahre vor | 0

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

etwa 11 Jahre vor | 3

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

etwa 11 Jahre vor | 0

| akzeptiert

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

etwa 11 Jahre vor | 0

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

etwa 11 Jahre vor | 1

| akzeptiert

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

etwa 11 Jahre vor | 2

| akzeptiert

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

etwa 11 Jahre vor | 0

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

etwa 11 Jahre vor | 0

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

etwa 11 Jahre vor | 1

| akzeptiert

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

etwa 11 Jahre vor | 0

| akzeptiert

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

etwa 11 Jahre vor | 0

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

etwa 11 Jahre vor | 0

Beantwortet
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]...

etwa 11 Jahre vor | 0

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

mehr als 11 Jahre vor | 0

| akzeptiert

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

mehr als 11 Jahre vor | 0

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

mehr als 11 Jahre vor | 0

| akzeptiert

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

mehr als 11 Jahre vor | 0

| akzeptiert

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

mehr als 11 Jahre vor | 0

| akzeptiert

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

mehr als 11 Jahre vor | 0

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

mehr als 11 Jahre vor | 0

Beantwortet
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]; ...

mehr als 11 Jahre vor | 1

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

mehr als 11 Jahre vor | 0

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

mehr als 11 Jahre vor | 0

| akzeptiert

Mehr laden