Feeds
How can I open importData tool?
I do not believe the Import Tool is available yet in MATLAB Online. Much of the functionality is available within the readt...
6년 초과 전 | 3
| 수락됨
Spectrum Analyzer!! - How to access data/plots from a FFT scope real time
Simulink does allow you to access signal data from MATLAB during simulation via the use of runtime objects. Check out this doc ...
대략 9년 전 | 0
| 수락됨
I'm not able to access my free training
To be able to log in to the _MATLAB Onramp_ course on MATLAB Academy, you must associate your MathWorks Account to your home lic...
9년 초과 전 | 0
Matlab Academy - Unable to login because the user has no entitled products
To be able to log in to the _MATLAB Onramp_ course on MATLAB Academy, you must have a MathWorks Account associated with a valid ...
9년 초과 전 | 1
help using Xpath and XML reading
I may be misunderstanding things, but I think you may want to try doing something like this: dictExpr = xpath.compile('//di...
대략 11년 전 | 0
| 수락됨
how to count key presses in limited time?
Oh, you need timer objects and a key press function brah! Also, you gotta stop thinking in loops and start thinking in callback...
11년 초과 전 | 0
| 수락됨
How to change values in XML file?
Working with XML can definitely be tricky! Fortunately, these kinds of things are pretty well documented... <http://www.w3sc...
11년 초과 전 | 0
| 수락됨
Need to create a 3 dimensional matrix of subjects, block numbers and 6 sub condition values within each block.
Is there a reason you want to store things in a 3-dimensional array? Seems you might be better off, at least at first, keeping ...
거의 12년 전 | 0
| 수락됨
Object composition and property updating
I think the way that I would do this is to set the actual properties to be private properties (SetAccess=private,GetAccess=...
대략 12년 전 | 0
How to store and print comments from a script
Hmm... helpText = help('yourMATLABFileName') Also, you may then want to split each line into a separate string line...
대략 12년 전 | 0
| 수락됨
Need to make a 4D plot (3D + Colour)
I'm curious how slice doesn't fit your needs. I'm no data visualization expert so please take this as an honest "I'd like to kn...
대략 12년 전 | 1
Usint integration to calculate the cylinder/rotary actuator flow rate instead of the derivative block
I assume you are using SimHydraulics, correct? Perhaps I am misunderstanding the question, but shouldn't you be able to use a...
대략 12년 전 | 1
Too many input arguments?
When I did stuff like this, I always just created a wrapper function that does the parameter passing. That would be replacing...
대략 12년 전 | 0
LTI data extraction
I believe you can use the bode function for that... [mag,phase,freqs] = bode(lin) Also, if you are comparing two systems...
대략 12년 전 | 0
| 수락됨
How to form this diagonal matrix?
m = 4; M = 1:m; diagVals = exp(j*2*pi*(M-1./M)) E = diag(diagVals) Is that right?
대략 12년 전 | 0
| 수락됨
I am trying to make a s-function in my simulation. it consists of a c program. I have put this c program in matlab folder.But the simulation shows error and says that such a c program does not exist. s function does not allow us to specify the path name
Hmm... if you are writing an S-function by hand, then you should be able to add your other source files when you build it >...
대략 12년 전 | 0
Convolution using Embedded MATLAB Function Block in simulink
To do this, somewhere in your model you need to have a block that maintains the previous values of the sampled input (the convol...
대략 12년 전 | 1
| 수락됨
How to set multiple ports for a step input block
I believe you can use a single Step block, and then for the various parameters (such as the Final Value parameter) you can set a...
대략 12년 전 | 1
| 수락됨
mirrored axes labels with imagesc
Are you referring to the y-axis being in reverse direction? If so, you can set it back... a = rand(5,5) a(3,3) = NaN ...
대략 12년 전 | 0
text into matrix cell
My solution would involve meshgrid and some fancy arrayfun action (though you could easily replace arrayfun with a for loop) ...
대략 12년 전 | 0
for loop query
Reshape and fliplr will help you here: m = 3; c = [40,39,36,30,22,21,1,2,3,4,5,6] result = reshape(c,m,[])' result...
대략 12년 전 | 1
convert to text
I think your step creating e should be E = reshape(D,8,[])' The way you have it now does not properly reorder the string...
대략 12년 전 | 0
| 수락됨
ftp connection
I get the same behavior you get. This works for me though... f=ftp('tgftp.nws.noaa.gov'); cd(f,'data/observations/metar...
대략 12년 전 | 1
| 수락됨
coordinates of pixels in a contour plot
I would just bypass the contour altogether. It seems that you essentially want to find the points where (Am1_r == 0) & (Am2_r...
대략 12년 전 | 0
Simscape Pneumatic Orifice Problem
I am no expert in pneumatics (I had to make sure I was spelling it right when I typed it just now) but I have a thought. The ...
대략 12년 전 | 1
| 수락됨
changing the style in a loop with hold all...
Ok I understand your remark about it "feeling wrong" so please don't hate me for suggesting this... However, a little-known tri...
대략 12년 전 | 2
Removing a block and making connections
I've run into this before. My solution was to find port handles and reconnect. I'm not sure if there is an easier way. Here...
대략 12년 전 | 2
| 수락됨
Setting priority to data store read/write blocks
A couple general comments for you - If you really are just using Data Stores to avoid drawing signal lines, you'd probably be...
거의 13년 전 | 0
| 수락됨
simulink components names from vector of strings
Sounds like you just need some string concatenation... for i = 1:length(vector) block2AddSrc = ['library/' vector{i}...
거의 13년 전 | 0
| 수락됨
Stateflow question: transitions evaluated before state is executed
Hi Iban, I believe that is actually the default behavior. Generally, outer transitions (ones on the super states) are tested...
거의 13년 전 | 0
| 수락됨