MATLAB QUESTIONS & EXPERT ANSWERS

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

Illustration
Why is the working directory opening to the launch directory upon launch?
gaurav_23 - 2021-10-20

Every time I launch MATLAB, the current folder opens to the directory that was used to launch the application. If I launch the application by double c...

Why does the "Simulink.?data.upgra?deClasses" function not
nitin_shahu - 2021-10-11

Why does the "Simulink.?data.upgra?deClasses" function not upgrade the Level-1 data classes that I have when using Simulink 8.2 (R2013b)? I have a Lev...

Adding two matrixes with different row numbers.
Stephen - 2021-10-11

Hi Matlabsolutions community!   I have a matrix A(mxn) and a matrix B(lxn) such as: A = [1,2,3,4,5,6,7,8,9,10; 10,11,12,13,14,15,16,17,18,19; 19,20,2...

How do I freeze a Simulation in Simulink, close MATLAB
sanjana - 2021-10-11

I would like to run a simulation in Simulink following the below steps:   1. Run the simulation from time 0 to 10s   2. Stop the simulation at time...

When is subsystem reference a better choice than model reference?
svanimisetti - 2021-10-11

I am trying to understand the difference between "model reference" and "subsystem reference". I came across this documentation page, but no matter how...

Setting Look Up Table parameter 'Table' from GUI using set_param
Shyam - 2021-10-11

I want to set the LUT parameter 'Table' frm a GUI:   Lookup Table (n-D): ..... simulink library block Table data: wArray Breakpoints 1: ........ I am...

Sum subarrays of a Matrix.
Rosado - 2021-10-11

Hi Mathworks community! Could someone give me a hand?   I'm having trouble trying to sum parts of the arrays of a matrix. Let's say I have the follow...

Why does the 'UserData' property for a block not persist across Simulink
thomas - 2021-10-09

Why does the 'UserData' property for a block not persist across Simulink sessions even though I have the 'UserDataPersistent' property set to 'on'?  ...

How can I keep track of Handle Graphic objects in my MATLAB S-Function Block?
hament - 2021-10-09

I have a custom MATLAB S-Function block that is used to plot data while the simulation is running. How can I keep track of the handle graphic objects ...

How do I build my model that contains an automatically
SLPRJ - 2021-10-09

How do I build my model that contains an automatically generated S-function, if I do not have the source code? My model contains an S-function block w...

Get a Free Consultation or a Sample Assignment Review!