photo

umichguy84


Last seen: ungefär 4 år ago Active since 2017

Followers: 0   Following: 0

Message

Statistics

  • Thankful Level 2
  • Knowledgeable Level 1
  • Revival Level 1
  • First Answer
  • Thankful Level 1

View badges

Feeds

View by

Answered
loading and storing specific field of many different file names of a struct
When using structures you can use variables and expressions to access fields using () . For instance lets say you had the follo...

ungefär 6 år ago | 1

| accepted

Answered
how to break out of a for and while loop in this particular problem?
If you want to break out at t = 16 why not just run your for loop to 16? for k = 3:length(16) xPos(k) = ...; end ...

mer än 6 år ago | 0

Answered
Loop through excel files and save output to 1 file
You want to add to the data every loop and write it out once at the end. Before loop data = repmat(cell(1,4),length(xl_file_l...

mer än 6 år ago | 0

| accepted

Answered
How to make a counter in a for loop?
When using a for loop you don't have to step by 1, you can step by any number. So while this would fix your issue: patien...

nästan 7 år ago | 0

Answered
Insert a line break in Mask-Editor / Parameters / Prompt
You can use the newline char '\n' with fprint or disp. fprintf([ 'Line1Text ' '\n'... 'Line2Text ' '...

nästan 7 år ago | 0

Question


Update Value from Workspace in Simulink During Simulation
In short is there a way/block that uses a workspace variable for it's output? For context, I have a simulation of a train whe...

nästan 7 år ago | 1 answer | 1

1

answer

Answered
I need to create a Simulink running signal minimum function
Hello, Here is an alternative to a Matlab function. See the attached image below for an example in Simulink. <</matlabcent...

ungefär 7 år ago | 0

Question


Not Enough Input Arguments when using cm.addCustomMenuFcn
I'm trying to add some menu customizations. I'm starting with this <https://blogs.mathworks.com/simulink/2013/06/24/defining-cu...

ungefär 7 år ago | 1 answer | 1

1

answer

Question


Sample Time Issue Using Pulse Generator Inside a If Action Subsystem
I have a Simulink model running in discrete time. Inside one portion of a subsystem I have a if action subsystem, inside of thi...

mer än 7 år ago | 1 answer | 1

1

answer