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年 前 | 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年以上 前 | 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年以上 前 | 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...
7年弱 前 | 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 ' '...
7年弱 前 | 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...
7年弱 前 | 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年 前 | 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年 前 | 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年以上 前 | 1 件の回答 | 1