已回答
Replacing elements in Array
When length(C) > 1 , Matlab doesn't know how to replace the values. (length(C) x 61) matrix , and a length(C) vector If...

12 years 前 | 0

已回答
enable log signals through command line.
I remember doing this before, but I can't find the code. I had to : 1) find the block 2) get the line (out of the block) 3) ...

12 years 前 | 0

| 已接受

已回答
Extract numbers from mixed string
This is how I went about it, all steps included even the errors. teststr = 'Test setup: MaxDistance = 60 m, Rate = 1.000, P...

12 years 前 | 1

已回答
Control a Simulink module by an M-file
So you want to run the simulation, and have 'z' change from 100 to 10 at 3 seconds? Is 'z' a constant block? Change it to a Loo...

12 years 前 | 0

已回答
How to/Can I send commands to Matlab remotely
What is it that you want to do remotely? If you want total control of Matlab, then just VNC. If you want to run a script, my...

12 years 前 | 2

已回答
Code of plotting from SCOPE three axis to sublots
<http://www.mathworks.com/matlabcentral/fileexchange/35297-matlab-plot-gallery-subplot-1/content/html/Subplot_1.html>

12 years 前 | 0

已回答
Simulink "To Workspace" is outputing 3D array, why?
Not really an answer, but I get this as well, what works for me is to squeeze the output: <http://www.mathworks.com/help/techdo...

12 years 前 | 2

已回答
Extracting data from a table(.mat file)
<http://www.mathworks.com/company/newsletters/articles/Matrix-Indexing-in-MATLAB/matrix.html> original = magic(10); In t...

12 years 前 | 0

已回答
How to save the plot with two lines
The 'plot' is the line, what you want to save is the figure. h=figure; x=rand(1,10); y=1:10; plot(x,y,'r',x,y,'g')...

12 years 前 | 0

| 已接受

已回答
Using electronic sensors to control motors using matlab/simulink; possible?
<http://blogs.mathworks.com/seth/2012/02/21/sous-vide-cooking-with-simulink-part-1/> <http://blogs.mathworks.com/seth/2012/02/2...

12 years 前 | 1

| 已接受

已回答
Is there any examples that uses Wait.m?
I'm not sure what you mean by "content of the loop unable to keep up with the frequency of the loop itself". However, you menti...

12 years 前 | 0

| 已接受

已回答
Search within a character array
I would guess <http://www.mathworks.com/help/techdoc/ref/urlread.html> and creative use of <http://www.mathworks.com/help/tec...

12 years 前 | 0

| 已接受

已回答
Simulink / xPC automatically generated files
When I'm working with models, I will usually have a LOAD.m file that modifies the addpath. Then put files in selected folders. I...

12 years 前 | 0

| 已接受

已回答
Is code formatting still too complicated
For my transition, it had a lot to do with figuring out that you need to put things not only on different lines but to also add ...

12 years 前 | 1

| 已接受

已回答
I need to find out what this program is missing
while [condition] %that should only be true to run the loop %stuff in loop end % make sure to end the loop, but shoul...

12 years 前 | 0

| 已接受

已回答
update/memorise the constant block value
Perhaps I may need more clarification, but this is my understanding. You currently have 2 [Constant] blocks, for 'Ref Point' an...

12 years 前 | 0

已回答
Detecting a particular word in a cell vector
I would use a regexp. <http://www.mathworks.com/help/techdoc/ref/regexp.html> Perhaps with a 'match' option, depending what ...

12 years 前 | 0

已回答
Data logging from simulink. It only stores a few values
For only recording the last few points, did you change the option for 'Limit data points to last XX'? With your time step size, ...

12 years 前 | 0

已回答
mex -setup does not see a C++ compiler
If you know the path to the compiler, you can say [no] to locate installed compilers and manually give the path.

12 years 前 | 0

已回答
How to do probalistic routing in Simulink/Simevents?
Have you tried a Random Number block, with a switch.

12 years 前 | 1

已回答
Can I search a text file for a particluar word before recording data?
Look for a specific keyword(s), not exactly sure about your example, perhaps something like this. Keyword = 'Object Ray...

12 years 前 | 1

| 已接受

已回答
how to save a string as a filename?
for i=1:2; save(['test_' num2str(i)]); end

12 years 前 | 0

已回答
run a program every minute
<http://blogs.mathworks.com/videos/2008/05/05/advanced-matlab-timer-objects/>

12 years 前 | 5

| 已接受

已回答
Use add_line on a line?
I don't know if there is another way, and I would like to know. This is my work around, it can get ugly, but works. I call it "x...

12 years 前 | 2

| 已接受

提问


Accessing (loaded) Data, with a known variable Variable name. How do I avoid Eval?
Hello, I'm looking to avoid eval. There are loaded variables that I would like to analyze, I do not know the names of the variab...

12 years 前 | 1 个回答 | 0

1

个回答

已回答
What do you think of Cody, new service for MATLAB Central
I found that a lot of the Cody (official) problems after a while turned into a lot of 'regexp' stuff and was a bit too esoteric ...

12 years 前 | 2

已回答
Bus Selector 500 signal limit workaround? (Simulink)
Found a workaround. The limitation is with the BusSelector Only. So for me, the step where I split up the inputs into 400 si...

13 years 前 | 0

| 已接受

提问


Bus Selector 500 signal limit workaround? (Simulink)
Hello, I have a large model with a significant number of unique signals. I have been trying to keep them in a single bus, witho...

13 years 前 | 1 个回答 | 0

1

个回答