Réponse apportée
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...

plus de 11 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 11 ans il y a | 2

| A accepté

Réponse apportée
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...

plus de 11 ans il y a | 1

| A accepté

Réponse apportée
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 ...

plus de 11 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 11 ans il y a | 0

Réponse apportée
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...

plus de 11 ans il y a | 1

| A accepté

Réponse apportée
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 ...

plus de 11 ans il y a | 0

Réponse apportée
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:...

plus de 11 ans il y a | 0

Réponse apportée
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...

plus de 11 ans il y a | 3

Réponse apportée
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...

plus de 11 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 11 ans il y a | 0

Réponse apportée
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...

plus de 11 ans il y a | 1

| A accepté

Réponse apportée
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...

plus de 11 ans il y a | 2

| A accepté

Réponse apportée
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...

plus de 11 ans il y a | 0

Réponse apportée
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...

plus de 11 ans il y a | 0

Réponse apportée
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...

plus de 11 ans il y a | 1

| A accepté

Réponse apportée
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 ...

plus de 11 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 11 ans il y a | 0

Réponse apportée
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...

plus de 11 ans il y a | 0

Réponse apportée
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]...

plus de 11 ans il y a | 0

Réponse apportée
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...

plus de 11 ans il y a | 0

| A accepté

Réponse apportée
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 ...

plus de 11 ans il y a | 0

Réponse apportée
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 ...

plus de 11 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 11 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 11 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 11 ans il y a | 0

Réponse apportée
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...

plus de 11 ans il y a | 0

Réponse apportée
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]; ...

plus de 11 ans il y a | 1

Réponse apportée
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, ...

plus de 11 ans il y a | 0

Réponse apportée
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...

plus de 11 ans il y a | 0

| A accepté

Charger plus