![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/3261408.jpg)
Zack Peters
MathWorks
Followers: 0 Following: 0
I am in the Advanced Support Group here at MathWorks.
Feeds
I want to simulate the Point Reactor Kinetic Equations in Simulink. Solving the equations using ODE45 in MATLAB works fine but the Simulink model never achieves steady state. Can someone advise?
Hi Vikram, While the algorithms for the ODE45 are the same across Simulink and MATLAB, they are implemented in different...
8 years 前 | 0
How do I use Git for version handling Simulink files?
Hi Nils, The SLX file format can be considered a binary file and could be treated in GIT as any other binary file, i.e. it ca...
8 years 前 | 2
| 已接受
Implementing a improper discrete-time transfer function into Simulink.
The improperness of your system translates to using derivatives in your math. This works out fine in theory because the inverse ...
8 years 前 | 0
Were does to oscillating come from?
Hi Jan, Quick look at hte model shows that your 'u' signal hovers around '0' at around time 2.79. When that happens, your F_l...
8 years 前 | 0
C++ class interface for Simulink and MATLAB with support for code generation
Hi Carlo, Most of our customers achieve this through C-MEX S-functions. To support code generation you will also need to writ...
8 years 前 | 0
Embedded C Code generation Error ???
Hi Bala, Have a look at this Bug Report, the stack is somewhat related: <https://www.mathworks.com/support/bugreports/1357...
8 years 前 | 0
How do i resolve this error for converting my Simulink Subsystem into a verilog code?
Hi Devendra, I believe that the error message is asking you to specify the 'Output Minimum' and 'Output Maximum' for the 'Tes...
8 years 前 | 0
How can I implement inertia in my control system?
Hi Igor, Your question is a bit vague on what you specifically want to model with this. Moment of Inertia follows to the simp...
8 years 前 | 0
How do I automaticaly change values of blocks inside a reference model?
Hi Pablo, What you are looking for is what we call the "Model Workspace". It allows you to pass in data that is scoped only t...
8 years 前 | 0
| 已接受
Where can I find the 'Flight Simulation Project Template'?
Hi Zexiang, If you type 'simulink' in the command window of MATLAB R2016a+ it will open up the Simulink Start Page. From ther...
8 years 前 | 0
Develop circular buffer block in Simulink
Hi Francesco, The MATLAB Function block is a good way to do it. One limitation is variable sample times at in/out. Meaning if...
8 years 前 | 2
| 已接受
How to pick up an 'index number' of a function in Simulink?
Hi Hancheol, Here is one example to help get you started. THere's a lot of different ways that you can do this one, I just th...
8 years 前 | 0
| 已接受
g input for Three-Axis Inertial Measurement Unit block
Yes, the rest of the block accepts inputs in the form of body-fixed axes, so the gravity input should follow along the same line...
8 years 前 | 0
Problem on linking to DOORS
Try looking through these help pages: http://www.mathworks.com/help/slvnv/ug/diagnose-and-fix-dxl-errors.html http://www.m...
8 years 前 | 0
| 已接受
Is it possible to view a signal in "Display" block in real time durring simulation?
Hi Matico, A few ways you can do this. 1.) The easiest is using the <http://www.mathworks.com/help/simulink/slref/display....
9 years 前 | 0
| 已接受
Multiple Stateflow Charts Algebraic Loop Error
There needs to be an order for the two chart calls. Let's assume for a second that chart_1 get's called first and is followed by...
9 years 前 | 0
How to convert 70 kA/MW to per unit??
Hi Prasun, I would recommend looking at the following Mathworks documentation link for more information on the conversion of ...
10 years 前 | 0
Implementing model references with SimMechanics and SimHydraulics
Hi Maximilian, Currently there is no way to pass the port across a model boundary. If you are just looking to componentize yo...
10 years 前 | 0
Default Deactivation of "Limit data points to last" in Simulink Viewer
Hi Martin, Currently there is no way to set this on a model level or at the Simulink preferences level. One thing you may try...
10 years 前 | 0
| 已接受
How to modify a Simscape element parameter during simulation?
Unfortunately, nearly all of the parameters are not tunable during the course of a simulation. As a workaround to this, you can ...
11 years 前 | 0
| 已接受
How do I disable warnings about scope signals in referenced models (Simulink)?
Hi Matt, If you cannot find it within the model's configuration parameters -> diagnostics pane, then I would take a look at o...
11 years 前 | 0
| 已接受
Issues with Raspberry Pi Firmware Update
Hi, Maybe this will help: <http://www.mathworks.com/matlabcentral/answers/95657-why-do-i-receive-a-timeout-error-when-down...
11 years 前 | 0
How order my own Simulink library in folders?
Unfortunately, there is no easy way to do this. If you double click on the bad link in one of your models, you can see that its ...
11 years 前 | 0
How can I use NI-PCI-6010 DAQ Device in Simulink?
The Data Acquisition Toolbox does support the NI PCI-6010, as you have linked above. However, Real-Time Windows Target does not,...
11 years 前 | 0
| 已接受
How can I put a signal (angle) on a joint actuator
Hi Bastiaan, I believe that the Joint Sensor block is expecting an input signal with a width of 3, which translates to angle/...
11 years 前 | 0
Simulink model and function file mexw32
The Embedded Function block generates a MEX file out of the MATLAB code that is in it. In order to successfully do so, it requir...
11 years 前 | 0
function file mexw32 format error in simulink model
The Embedded Function block generates a MEX file out of the MATLAB code that is in it. In order to successfully do so, it requir...
11 years 前 | 0
how to open many matlab instances from matlab?
Hi Mario, An alternative is to use the Parallel Computing Toolbox to open up several MATLAB workers and run commands on each ...
11 years 前 | 1
Input ("u") index must be a positive integer in the expression: 1.5*u[n]-0.5*u[n-1]
Hi Alexa, I was able to reproduce the issue on a much smaller scale (see attached). The |BlockType| of |Fcn| above makes me b...
11 years 前 | 1
| 已接受