Community Profile

photo

Zack Peters

MathWorks

Last seen: ungefär 4 år ago Active since 2013

I am in the Advanced Support Group here at MathWorks.

Statistics

All
  • Knowledgeable Level 4
  • First Answer

View badges

Content Feed

View by

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

mer än 7 år ago | 0

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

mer än 7 år ago | 2

| accepted

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

mer än 7 år ago | 0

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

mer än 7 år ago | 0

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

nästan 8 år ago | 0

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

nästan 8 år ago | 0

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

nästan 8 år ago | 0

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

nästan 8 år ago | 0

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

nästan 8 år ago | 0

| accepted

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

nästan 8 år ago | 0

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

nästan 8 år ago | 2

| accepted

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

nästan 8 år ago | 0

| accepted

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

ungefär 8 år ago | 0

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

ungefär 8 år ago | 0

| accepted

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

mer än 8 år ago | 0

| accepted

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

ungefär 9 år ago | 0

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

mer än 10 år ago | 0

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

mer än 10 år ago | 0

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

mer än 10 år ago | 0

| accepted

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

mer än 10 år ago | 0

| accepted

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

mer än 10 år ago | 0

| accepted

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

mer än 10 år ago | 0

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

mer än 10 år ago | 0

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

mer än 10 år ago | 0

| accepted

Answered
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/...

mer än 10 år ago | 0

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

mer än 10 år ago | 0

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

mer än 10 år ago | 0

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

mer än 10 år ago | 1

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

mer än 10 år ago | 1

| accepted

Answered
Method for determining height and width of a Simulink annotation
Hi Douglas, In Simulink, annotations are classified by <http://www.mathworks.com/help/simulink/slref/simulink.annotation.html...

mer än 10 år ago | 0

Load more