Community Profile

photo

Lucas


Hamilton Sundstrand

Attivo dal 2012

Statistiche

All
  • Thankful Level 4
  • Solver

Visualizza badge

Content Feed

Visto da

Domanda


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

quasi 9 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 9 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 9 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 11 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 11 anni fa | 8 risposte | 3

8

risposte

Domanda


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

oltre 11 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 11 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 11 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 11 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 11 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 11 anni fa | 2 risposte | 1

2

risposte

Domanda


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

oltre 11 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 11 anni fa | 1 risposta | 1

1

risposta

Domanda


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

oltre 11 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 11 anni fa | 3 risposte | 1

3

risposte

Domanda


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

oltre 11 anni fa | 2 risposte | 1

2

risposte

Domanda


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

oltre 11 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 11 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 11 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 11 anni fa | 1 risposta | 0

1

risposta

Risolto


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

oltre 11 anni fa

Domanda


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

oltre 11 anni fa | 4 risposte | 1

4

risposte

Domanda


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

oltre 11 anni fa | 1 risposta | 1

1

risposta

Domanda


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

oltre 11 anni fa | 1 risposta | 0

1

risposta

Risolto


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

oltre 11 anni fa

Risolto


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

oltre 11 anni fa

Risolto


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

oltre 11 anni fa

Domanda


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

oltre 11 anni fa | 3 risposte | 1

3

risposte

Domanda


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

oltre 11 anni fa | 1 risposta | 0

1

risposta

Risolto


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

oltre 11 anni fa

Carica altro