Feeds
提问
Compare the contents to 2 subsystems within Simulink
Is there an easy way to compare the contents of 2 subsystems in MatLab? I want to take one subsystem and check it against anothe...
10 years 前 | 2 个回答 | 0
2
个回答提问
Load both MatLab and Simulink into the background.
Is it possible to write a script outside of MatLab, that'll open MatLab without popping up the GUI interface? Sort of like load_...
10 years 前 | 1 个回答 | 0
1
个回答提问
MatLab 2012b sum block with signed/unsigned numbers
If I have a sum block that's taking 2 constants in, one signed the other unsigned, and I add them together I do not get the resu...
10 years 前 | 1 个回答 | 0
1
个回答提问
Why doesn't .3 - .2 - .1 = 0
I was bored yesterday at work and I was playing around with some decimal numbers when I stumbled across something I thought was ...
12 years 前 | 2 个回答 | 0
2
个回答提问
Admins need to give a reason when they close a question!
If you close a question that hasn't been flagged and has people trying to help someone admins shouldn't be able to close a quest...
12 years 前 | 8 个回答 | 3
8
个回答提问
Simulink error using Data Store Read/Write
I get the following error when I compile my model: The block 'Util/Common/ReadToggled_LampTest' is reading from the data st...
12 years 前 | 1 个回答 | 0
1
个回答提问
MatLab classes using other classes
I’m new to using MatLabs oop and I got a simple tree structure going right now. classdef TreeStructure < handle %TRE...
12 years 前 | 1 个回答 | 0
1
个回答提问
find_system using reference models
We're switching over to reference models and I was wondering if there was a way that I could get find_system, from the top model...
12 years 前 | 1 个回答 | 0
1
个回答提问
Check files in current folder (MatLab path)
I'm running into a slight problem, I'm trying to generate unique names for some files and I need to check if that name exists in...
12 years 前 | 2 个回答 | 0
2
个回答提问
Regexp question number two
I have no idea why this isn't working. I've read in several places that this should work, but it doesn't. I have a string like: ...
12 years 前 | 1 个回答 | 0
1
个回答提问
regexp question (-.- 4 word minimum)
I have a string thats goes like this: 055451051 (/document name/folder/file name) I want a simple regexp that will give ...
12 years 前 | 2 个回答 | 1
2
个回答提问
Creating custom callback functions
Is it possible to create a custom call back function that can be called when a block has changed? I'd like to check if the user ...
12 years 前 | 1 个回答 | 0
1
个回答提问
Display text in block properties dynamically
Is there a way to set something up in the block properties that will display text dynamically? We have some objects that lin...
12 years 前 | 1 个回答 | 1
1
个回答提问
Get number from a string
I have a string that looks like this I_am_a_String.562 I need to be able to pull the number out of that, and I was using...
12 years 前 | 1 个回答 | 0
1
个回答提问
Track changes made to model
Is there a way that you can track changes that have been made to a model? Like if a parameter got changed in the Configuration D...
12 years 前 | 3 个回答 | 1
3
个回答提问
Make a string an acceptable matlab file name
I'm working on a process to automate out model conversion into reference models and I was wondering if there was a way to take a...
12 years 前 | 2 个回答 | 1
2
个回答提问
Auto-connect block to existing line
I want to add in some data type conversion blocks infront of some already existing inport blocks. I can create the block and add...
12 years 前 | 2 个回答 | 0
2
个回答提问
Code Inspector warning, tunable objects
I’ve tried reading the documentation online and I have to say it’s horrendous. I haven’t been able to get a straight answer onli...
12 years 前 | 1 个回答 | 0
1
个回答提问
Weird issue with Simulink model
At work I’m working with a new version of the model that I’ve been working with. In the previous version of the model I haven’t ...
12 years 前 | 1 个回答 | 0
1
个回答提问
MatLab Mex file generation, MatLab install issue?
This is probably a simple question but I wanted to verify the problem before I sent in the service request. We're running on Mat...
12 years 前 | 1 个回答 | 0
1
个回答已解决
Find the numeric mean of the prime numbers in a matrix.
There will always be at least one prime in the matrix. Example: Input in = [ 8 3 5 9 ] Output out is 4...
12 years 前
提问
Run a simulink model for a certain amount of time and pause
If there any way that you can run a simulink model from the command line for a certain amount of time, and then pause the model?...
12 years 前 | 4 个回答 | 1
4
个回答提问
Sticky with helpful links?
Would it be plausible to have a sticky thread at the top with helpful links for people. I keep losing track of all the links I s...
12 years 前 | 1 个回答 | 1
1
个回答提问
Model coverage without using sim
Hello, I was wondering if it was possible to get model coverage without using sim() on a simulink model? We can't use the sim()...
12 years 前 | 1 个回答 | 0
1
个回答已解决
Remove the vowels
Remove all the vowels in the given phrase. Example: Input s1 = 'Jack and Jill went up the hill' Output s2 is 'Jck nd Jll wn...
12 years 前
已解决
Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...
12 years 前
已解决
Summing Digits within Text
Given a string with text and digits, add all the numbers together. Examples: Input str = '4 and 20 blackbirds baked in a...
12 years 前
提问
MatLab have memory leaks?
When I open MatLab at the beginning it takes up less than 200k in memory. When I open a Simulink model it jumps up to over 300k ...
12 years 前 | 3 个回答 | 1
3
个回答提问
Can you use a Simulink model to set the values in a different model?
Is there any way that you can have one model link up to another model? Lets say I got a model that looks like this: <http://b...
12 years 前 | 1 个回答 | 0
1
个回答已解决
Back to basics 17 - white space
Covering some basic topics I haven't seen elsewhere on Cody. Remove the trailing white spaces from the input variable
12 years 前