Community Profile

photo

Sara Nadeau


Last seen: 7 days ago

MathWorks

30 total contributions since 2018

Sara Nadeau's Badges

  • Knowledgeable Level 2
  • 3 Month Streak
  • Solver
  • First Answer

View details...

Contributions in
View by

Answered
Simulink toggle run-time data access programmatically
Hi Robert, Unfortunately there is not a way to control these settings programmatically at this time. Sara

1 month ago | 0

| accepted

Answered
accessing large MAT file
I believe you are having trouble with the matfile function because of the format of the logged data. If you logged the data in ...

3 months ago | 0

| accepted

Answered
How to access to data in the simulink in real time
This doesn't exactly allow you access to your data in real-time, but you can use a Data Access callback function to access packe...

7 months ago | 0

Answered
How to access to data in the simulink in real time
Hi Mohamed, Could you clarify what you mean by 'data at each iteration' and describe what you want to do with the data? Also, ...

7 months ago | 0

Answered
Bus signal: save and load
Hi Mark, No problem - I've attached a modified version of your example model that loads bus data showing how to create the Sim...

8 months ago | 0

Answered
Bus signal: save and load
Hi Mark, You're doing just the right thing with logging the bus data. That piece tends to be a bit easier than loading bus dat...

8 months ago | 0

Answered
Bus signal: save and load
When I try the attached models, I get an error about the Output data type setting for the From File block. To use this method fo...

8 months ago | 0

Answered
To Workspace overwriting each timestep
Hi Daniel, I poked around your model a bit. Are you intending to save data_theta_both and data_alpha_both in different formats...

10 months ago | 0

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

2 years ago | 0