Feeds
已回答
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...
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...
6 years 前 | 1
| 已接受
已回答
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 ...
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 ...
6 years 前 | 0
已回答
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...
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...
6 years 前 | 0
| 已接受
已回答
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...
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...
6 years 前 | 0
已回答
Insert a line break in Mask-Editor / Parameters / Prompt
You can use the newline char '\n' with fprint or disp. fprintf([ 'Line1Text ' '\n'... 'Line2Text ' '...
Insert a line break in Mask-Editor / Parameters / Prompt
You can use the newline char '\n' with fprint or disp. fprintf([ 'Line1Text ' '\n'... 'Line2Text ' '...
6 years 前 | 0
提问
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...
6 years 前 | 1 个回答 | 1
1
个回答已回答
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...
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...
7 years 前 | 0
提问
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...
7 years 前 | 1 个回答 | 1
1
个回答提问
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...
7 years 前 | 1 个回答 | 1