MATLAB QUESTIONS & EXPERT ANSWERS

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

Illustration
How to solve an equation system using a interp1-variable
soniya_shah - 2021-10-21

Hello everyone,   I'm trying to solve equations in a Matlab function that is part of a Simulink model.   One of those two equations is an interpolat...

How can the handle to the currently visible Stateflow.Box object be obtained?
assignmenthelppro - 2021-10-21

It is possible to obtain the handle to the currently visible Stateflow.Chart object by using the following command:   >> s = sfroot; >> c = s.find('-...

How do I find out what type of block a Simulink block is?
sneha_mittal - 2021-10-20

For an assignment, the lecturer provided a sim. I know what some of the blocks are; how can I find out what the other blocks are? In other words, what...

How to set the nearest position of the block from the Simulink from Matlab script?
rajansingh - 2021-10-20

Hi!   I am working on automated Simulink models transformations (creating models from Matlab Scipt) and I need to:   (a) add a block to simulink fro...

Consecutive call of parsim constantly increases memory usage (Ubuntu)
shyan_andras - 2021-10-20

Hi,   I am trying to perform a parameter sweep on my simulink model using parsim. However, after parsim has been called for several times (after ~24h...

Number of elements mismatch.
ajay_shen - 2021-10-20

Hi everyone, I have a dimension issue: I have a Simulink Matlab Function block that has a [3x1] vector of values called pd as its input. This vector s...

How do I debug mask initialization code in Simulink?
sandya_res - 2021-10-20

My  Simulink model contains a mask with the following initialization code:     plot test_var=1 When this code executes after changing a dialog para...

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

Get a Free Consultation or a Sample Assignment Review!