MATLAB QUESTIONS & EXPERT ANSWERS

Ask an expert. Trust the answer.
Your academic and career questions answered by verified experts.

Illustration
How to force a matlab script to rerun the script from the beginning
Cris LaPierre - 2021-10-08

How to force a matlab script to rerun the script from the beginning using list items and if statement? I have the following code:   % Here is the Mai...

How to change units in Bode Diagram?
kumar_reans - 2021-10-08

I want to change the units of frequency and magnitude in the Bode Diagram, How can I do this?  ...

How to deal with nested arrays where the columns and rows are in different dimensions?
David Mrozek - 2021-10-08

Hello everyone,   In some previous questions I have asked about defining a specific data structure which gave me splendid answers and a better unders...

How to use batch files to create an executable for a model which has model references?
Vashu_hn - 2021-10-08

Let's say we have models r1 and r2 where r1 is a model reference inside r2. When we generate code (Simulink coder - Generate code only) for r2, everyt...

Why does my 'SimulationInput' object not have any effect on my simulation results?
breave - 2021-10-08

I am using the Simulink.SimulationInput class to define simulation parameters for multiple simulations. I am using the following lines of code:   sim...

Is there a way to deep copy Simulink.SimulationInput object?
kirti_singh - 2021-10-08

I am trying to copy a  Simulink.SimulationInput object by doing the following:   Input(1) = Simulink.SimulationInput('foo'); Input(1) = Input(1).set...

How to ensure all of our models and subsystems are centered on the screen and are at 100% zoom?
trandura_sneha - 2021-10-07

Hello, We have been trying to get a reliable and quick way to ensure all of our models and subsystems are centred on the screen and are at 100% zoom. ...

How make mutiple plots in one plot
hyat_gns - 2021-10-07

Hello,   i have a little problem i want to make multiple plots on one plot so i saw some videos and try it works but the problem is in the video he u...

select bus elements programmatically
Rutherford - 2021-10-07

I have signals in a SIMULINK bus and I would like to select specific signals from it. The issue is that I want to run an initialization script that wi...

How do I display simulation results on Figure
shalura_singh - 2021-10-07

How do I display simulation results on Figure still in R2013b and later, just like in previous versions of the simplot command? I get simulation resul...

Get a Free Consultation or a Sample Assignment Review!