# How to marker a fplot(anonymous function) function

Hello, I wrote a function which needs a (t) as input and it graphs something i want to marker the point which user inputs on the graph for example if user defines t=10 I want to marker the graph on point t=10 and x(t)=10. how should I do that. …

# How can i insert time varying parameters in simulink block?

Hi everyone,

I have a simulink model simultaing a periodic continuous system in the form: dx(t)=A(t)x(t)+B(t)u(t) with A(t+T)=A(t) and B(t+T)=B(t) In every instant i compute the matrices A(t) and B(t). I am introducing a Kalman filter, but i can’t figure out how to insert variable matrices in the simulink block

# How to arrange data

Hello, I use this code which is linked to a Simulink file to simulate and get data used for Artificial Neural Network. The data shown below are saved in structur format and each case contains 30001 data.

So I want to arrange data to get only one matrix with 2…

# Can I speed up my Simulink simulations using Parallel

Can I speed up my Simulink simulations using Parallel Computing Toolbox 4.0 (R2008b) ?

I am looking to use Parallel Computing Toolbox 4.0 (R2008b) to speed up my Simulink simulations. What is the workflow in integrating Parallel Computing Toolbox and Simulink? What kind of performance increase should I expect?

NOTE:-

# Why am I receiving error messages about singularities in my Simulink model?

I am receiving the following error messages about singularities in my Simulink model:

`Derivative of block at time is Inf of NaN.  Stopping Simulation.  There may be a singularity in the solution. …`

# How to get rid of this warning which point at extra entries?

Dear all, I want to know why do I receive the following warning if my code is not in a loop?

Warning: Ignoring extra legend entries.

> In legend>process_inputs (line 587)

In legend>make_legend (line 315)

In legend (line 259)

In PVGeo__SCy (line 394)

`figure(1)n=12;U1=[energy_, (heat_cons + HDW_c)]; %%%RenU2=[(Power_ + Sp_…`

# Start Simulink simulation and wait for termination

Hi,

My Simulink simulations are governed by a large set of .m files and rather than starting the simulation on my own with Play button, I prefer to call an .m-file which sets up the environment and then starts the simulation.

I run my simulation with

`set_param('main','SimulationCommand','start');`

However, this call…

## Technical Source

Simple! That is me, a simple person. I am passionate about knowledge and reading. That’s why I have decided to write and share a bit of my life and thoughts to.

Get the Medium app