답변 있음
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...

대략 11년 전 | 0

| 수락됨

답변 있음
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...

대략 11년 전 | 2

| 수락됨

답변 있음
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...

대략 11년 전 | 1

| 수락됨

답변 있음
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 ...

대략 11년 전 | 0

| 수락됨

답변 있음
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...

대략 11년 전 | 0

답변 있음
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...

11년 초과 전 | 1

| 수락됨

답변 있음
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 ...

11년 초과 전 | 0

답변 있음
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:...

11년 초과 전 | 0

답변 있음
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...

11년 초과 전 | 3

답변 있음
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...

11년 초과 전 | 0

| 수락됨

답변 있음
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...

11년 초과 전 | 0

답변 있음
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...

11년 초과 전 | 1

| 수락됨

답변 있음
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...

11년 초과 전 | 2

| 수락됨

답변 있음
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...

11년 초과 전 | 0

답변 있음
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...

11년 초과 전 | 0

답변 있음
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...

11년 초과 전 | 1

| 수락됨

답변 있음
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 ...

11년 초과 전 | 0

| 수락됨

답변 있음
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...

11년 초과 전 | 0

답변 있음
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...

11년 초과 전 | 0

답변 있음
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]...

11년 초과 전 | 0

답변 있음
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...

11년 초과 전 | 0

| 수락됨

답변 있음
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 ...

11년 초과 전 | 0

답변 있음
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 ...

11년 초과 전 | 0

| 수락됨

답변 있음
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...

11년 초과 전 | 0

| 수락됨

답변 있음
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...

11년 초과 전 | 0

| 수락됨

답변 있음
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...

11년 초과 전 | 0

답변 있음
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...

11년 초과 전 | 0

답변 있음
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]; ...

11년 초과 전 | 1

답변 있음
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, ...

11년 초과 전 | 0

답변 있음
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...

11년 초과 전 | 0

| 수락됨

더 보기