Community Profile

photo

Lucas


Hamilton Sundstrand

Active since 2012

Statistics

All
  • Thankful Level 4
  • Solver

View badges

Content Feed

View by

Question


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...

9 years ago | 2 answers | 0

2

answers

Question


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_...

9 years ago | 1 answer | 0

1

answer

Question


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...

9 years ago | 1 answer | 0

1

answer

Question


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 ...

11 years ago | 2 answers | 0

2

answers

Question


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...

11 years ago | 8 answers | 3

8

answers

Question


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...

11 years ago | 1 answer | 0

1

answer

Question


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...

11 years ago | 1 answer | 0

1

answer

Question


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...

11 years ago | 1 answer | 0

1

answer

Question


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...

11 years ago | 2 answers | 0

2

answers

Question


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: ...

11 years ago | 1 answer | 0

1

answer

Question


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 ...

11 years ago | 2 answers | 1

2

answers

Question


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 ...

11 years ago | 1 answer | 0

1

answer

Question


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...

11 years ago | 1 answer | 1

1

answer

Question


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...

11 years ago | 1 answer | 0

1

answer

Question


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...

11 years ago | 3 answers | 1

3

answers

Question


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...

11 years ago | 2 answers | 1

2

answers

Question


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...

11 years ago | 2 answers | 0

2

answers

Question


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...

11 years ago | 1 answer | 0

1

answer

Question


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 ...

11 years ago | 1 answer | 0

1

answer

Question


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...

11 years ago | 1 answer | 0

1

answer

Solved


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...

11 years ago

Question


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?...

11 years ago | 4 answers | 1

4

answers

Question


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...

11 years ago | 1 answer | 1

1

answer

Question


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()...

11 years ago | 1 answer | 0

1

answer

Solved


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...

11 years ago

Solved


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...

11 years ago

Solved


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...

11 years ago

Question


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 ...

11 years ago | 3 answers | 1

3

answers

Question


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...

11 years ago | 1 answer | 0

1

answer

Solved


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

11 years ago

Load more