Community Profile

photo

Sara Nadeau

MathWorks

Last seen: 2 days ago Active since 2018

Statistics

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

View badges

Content Feed

View by

Answered
How to eliminate delays in drawing a graph during modeling in Simulink, in a dashboard?
Have you looked into any of the limitations listed in the documentation for the Dashboard Scope block? https://www.mathworks.co...

6 months ago | 1

Answered
open_system() not working with Model Reference
If you want to open the model within the context of the model hierarchy, you can create a Simulink.BlockPath object and then use...

8 months ago | 0

Answered
Problem with number of inputs and outputs
What is the type and format of your input data? What type of output do you expect from the From Workspace block? The From Work...

9 months ago | 1

| accepted

Answered
Switching between two integrators, spacecsaft dynamics
I am not entirely sure whether this would solve the problems you're seeing. The second example on this page shows how to use the...

11 months ago | 0

| accepted

Answered
Transfer Function giving zero Output in Simulink (Solved: Due to exp^- block creating singularity)
The screenshot you included shows port value labels on the model to display the signal values. Have you tried running a simulati...

11 months ago | 1

| accepted

Answered
Is it possible to output a NaN from the signal editor block? (RE)
If you are working in R2022b or later, you could try loading the data using a Playback block instead to see if that works for yo...

11 months ago | 1

Answered
How can I make the Graph finish in zero (In the x line) in Simulink?
I am not sure whether I completely understand the question. It sounds like you want to control the limits for the x and y axes i...

11 months ago | 0

Answered
Importing Voltage Data to AC Voltage Source in Simulink
I believe you'll need to load the data from the workspace into Simulink using a loading block that produces the signal that woul...

11 months ago | 1

| accepted

Answered
Calling a Simulink model by using feval
I am not sure that feval is really the relevant part of what is happening here. feval calls another function. In this case, this...

12 months ago | 0

| accepted

Answered
How do I stop simulink from creating large temp files?
The DMR files might be related to logging. By default, most logged data logs to the Simulation Data Inspector, which retains sim...

12 months ago | 0

| accepted

Answered
Using Bus in Simulink
When you load external input data for a bus using most loading blocks, the bus produced in the model is nonvirtual. That means t...

1 year ago | 0

Answered
Use names defined in array as input variables in for loop
Aside from the discussion about the input to the loop, I am wondering how you're logging the data from simulation. What format i...

1 year ago | 0

Answered
Inputting a time varying equation into system in simulink
My question is whether the function tau is actually part of the system you are trying to model or whether it's just that the res...

1 year ago | 0

Answered
Change Simulink (Simscape) model from 2021b to 2017b version
Yes, using the Save menu, you can save the model to a previous release. Export Model to Previous Simulink Version

1 year ago | 1

| accepted

Answered
How can I run simulink one sample at a time?
What the other comment recommends, using sldebug, is the programmatic interface for low-level debugging of simulations. Based on...

1 year ago | 2

Answered
Change the size of a log in simulink
Does it make sense to you that each sample you log with the To Workspace block is that big? Is there a way to refactor your mode...

2 years ago | 0

Answered
How to call the function based on the simulink model?
It's a little hard to say without knowing the specific errors you're getting. However - is there a reason you aren't assigning t...

2 years ago | 0

| accepted

Answered
Parsing big structures to simulink fails??
Loading data for a bus into Simulink involves two parts: the data itself and a definition of the bus data type. For the data i...

3 years ago | 0

| accepted

Answered
How to plot data in Matlab from workspace (Simulink)
Hello, I believe that the data logged to the workspace is only available after you pause a simulation and when a simulation co...

3 years ago | 0

Answered
Change variable Name of "To Workspace"
I believe you may be seeing the effect of some model configuration parameters at work. In the model configuration parameters, ch...

4 years ago | 4

| accepted

Answered
Vehicle Electrical and Climate Control Systems
Were you able to find this topic in the documentation? Vehicle Electrical and Climate Control Systems It explains some detail...

4 years ago | 0

Answered
Plot a VS graph from simulink scope to Matlab
If you're working in R2019b or R2020a, you could use the XY visualization in the Simulation Data Inspector as well: Visualize Si...

4 years ago | 0

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

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

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

4 years 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, ...

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

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

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

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

5 years ago | 0

Load more