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년 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 초과 전
질문
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년 초과 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 초과 전
문제를 풀었습니다
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년 초과 전
문제를 풀었습니다
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년 초과 전
질문
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년 초과 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 초과 전