Answered
DataSet vs ModelDataLogs data retrieval
Hi Cynthia! The Dataset object contains Signal objects, and the data in the Signal object - what you describe as 'the output st...

5 years ago | 0

Answered
GUI Guide: How can I access data from workspace (.mat file) and plot this data, using a GUI interface to select data to plot?
Hi Luciana, Do you have access to Simulink? Sounds like the <https://www.mathworks.com/help/simulink/slref/simulationdatains...

5 years ago | 0

Answered
Setting Simulink parameter values from script
Hi Simon! Have you considered using <https://www.mathworks.com/help/simulink/control-and-visualize-simulations-with-interacti...

5 years ago | 0

Answered
For engine and transmission, what are the things i need to know in simulink
Hi Avinash, Here's a page of examples dedicated to <https://www.mathworks.com/help/simulink/automotive-applications.html aut...

5 years ago | 0

Answered
Combine times series with different length by interpolation
If you have Simulink, the <https://www.mathworks.com/help/simulink/slref/simulationdatainspector.html Simulation Data Inspector>...

5 years ago | 0

Answered
How can I combine 2 figures, plots in Simulink ?
Hi Gombo, I don't understand what you're trying to do. Why do you want to view these plots on a Scope in Simulink? What do y...

5 years ago | 0

Answered
Why does my Simulink model take so long to run?
Hi Jeremy! Sounds like accelerator mode could help you. You can find details about Accelerator mode in the documentation. ...

5 years ago | 0

Answered
Undefined function or variable
Hi Theresa, I see a few issues that are preventing your code from running. For starters, the code at the end of your script ...

5 years ago | 0

Answered
Creating a Responsive GUI Within Simulink
Hi Luke, What version of MATLAB/Simulink are you using? I think there are a couple blocks that could help you. If your ve...

5 years ago | 0

| accepted

Answered
Calculate stuff during Simulink-Simulation
What version of Simulink are you working with? In 18a, you can use the <https://www.mathworks.com/help/simulink/ug/iterate-model...

5 years ago | 0

Answered
Can you look at different data files within a Simulink model?
Hi Samantha, Could you tell me more about the data you're trying to load? Is this data for the model workspace or simulation...

5 years ago | 0

Answered
Scope display from Simulink within MATLAB GUI
What version of Simulink do you have? If you have 18a, you can use the <https://www.mathworks.com/help/simulink/ug/iterate-model...

5 years ago | 0

| accepted

Answered
How can I generate EEG signal block from workspace to simulink? I attach the (.txt) file and code also.
Here's the reference page for the <https://www.mathworks.com/help/simulink/slref/fromworkspace.html From Workspace> block to hel...

5 years ago | 0

Solved


Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

6 years ago

Solved


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

6 years ago

Solved


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

6 years ago

Solved


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

6 years ago

Answered
How can people who are bad at math and have no programming aptitude learn MATLAB? (Long question)
We do also have <https://matlabacademy.mathworks.com/ MATLAB Onramp> and a program called <https://learntocode.mathworks.com/ Le...

6 years ago | 1

Solved


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

6 years ago

Answered
In Simulink demo sldemo_absbrake, the plotys are generated without using blocks. How did they do it?
A bit of clarification on the comment that mentions the Simulation Data Inspector: The Simulation Data Inspector does not plo...

6 years ago | 0

Answered
Rerun Simulink without compiling
Hi matquest, You can enable fast restart using the <https://www.mathworks.com/help/simulink/slref/model-parameters.html Fast...

6 years ago | 0

Answered
Warning message from signals comparing
Based on my understanding of what you want to do, I think that the Simulation Data Inspector programmatic interface should help....

6 years ago | 0