Community Profile

photo

Captain Karnage


Last seen: 9 days ago Active since 2022

Programming Languages:
Python, C++, C, Javascript, MATLAB, SQL, HTML, CSS, Perl, Fortran, Visual Basic
Spoken Languages:
English, French

Statistics

  • 3 Month Streak
  • First Answer
  • Thankful Level 2

View badges

Content Feed

View by

Answered
Save button disabled when editing an App Designer App
I'm not sure what went wrong, but a link to a custom component I had "broke". I think it had to do with the fact that I had an O...

16 days ago | 0

| accepted

Answered
Arguments accept char, string or "cellstr" (cell array of char or string)
If cell arrays of strings wasn't a requirement, MATLAB already has an easy built-in solution with mustBeText: arguments th...

2 months ago | 0

Question


Arguments accept char, string or "cellstr" (cell array of char or string)
I have a large number of functions I eventually intend to be redistributable at my company. I had started creating my own variab...

2 months ago | 3 answers | 0

3

answers

Question


Save button disabled when editing an App Designer App
I'm having a seemingly bizarre issue with an Application I'm making in App Designer. I have multiple .mlapp application files th...

2 months ago | 2 answers | 0

2

answers

Answered
How do I create a property in a class that is a direct handle to another class object
After contemplating this for a while, I came up with my own solution. I attempted a "universal" solution that will create a hand...

2 months ago | 1

Question


How do I properly convert a 64-bit binary string / Convert directly from bin or hex to uint64
I have a matlab function that reads in serial data and breaks it apart into component signals. Each serial data packet is 64 bi...

2 months ago | 2 answers | 0

2

answers

Question


How do I create a property in a class that is a direct handle to another class object
Currently I have two classes, a class that contains a structured definition, and another class that is supposed to fit that defi...

2 months ago | 2 answers | 0

2

answers

Answered
Creating a logical array
What's the ultimate goal? If you need to initialize a logical array, you can use true or false: either logicalArray = false(1,...

2 months ago | 0

Question


Determine what UI Object Called a Context Menu
This seems like a pretty basic question. I have a pretty complex App created in App Designer. I have finally finished all of my...

3 months ago | 1 answer | 0

1

answer

Answered
How to detect if passed handle is a handle to an App Designer Application
I just accidentally found out the answer to my own question when troubleshooting a different problem. The following isa command ...

3 months ago | 0

| accepted

Question


How to detect if passed handle is a handle to an App Designer Application
Background I have a function which I'm calling from multiple other functions that takes in a Handle to an object, and then retu...

3 months ago | 2 answers | 0

2

answers

Answered
Retrieve legend handles and text
I'll admit that findobj is a quicker, easier way to find the legends, but in case you want a way that kind of shows you the stru...

3 months ago | 0

Question


Why does the font size in my Axes change spontaneously?
I have an application that has 3 axes inside of it - named 'Top', 'Middle', and 'Bottom'. They are used to compare similar sets ...

3 months ago | 1 answer | 0

1

answer

Question


Why does exist('string') return 2?
I'm using a function to validate the type of variable passed against a string describing the type of variable. For the most par...

4 months ago | 1 answer | 0

1

answer

Answered
Programmatically performing "Expand axes to fill figure"?
I had to figure my own solution. This won't be applicable to everyone reading this, but I'm posting my version here in case anyo...

4 months ago | 0

Answered
Why do I get the error message, 'Too Many Input/Output Arguments' when I try to execute a function?
Adding to the category of "another way to get this error" that I don't see already list: If you have a class method, and you fo...

5 months ago | 0

Answered
How can I run a Simulink model from appdesigner
Use set_param, as follows: thismodel = 'insert_name_of_your_model_here`; cs = getActiveConfigSet(thismodel); cs.set_param('Pa...

5 months ago | 0

Answered
Basic Simscape Electrical Circuit Not behaving as expected in Operational Amplifier Adder Circuit
For anyone else looking at this, here's the answer: The attached circuit had positive feedback - I forgot to flip the op-amp to...

5 months ago | 0

| accepted

Question


How do I properly set up a Synchronous Machine (Salient Pole or Round Rotor) block?
I started a project using a Synchronous Machine Salient Pole block (and have also tried replacing it with a Synchronous Machine ...

6 months ago | 1 answer | 0

1

answer

Question


Basic Simscape Electrical Circuit Not behaving as expected in Operational Amplifier Adder Circuit
I'm having trouble getting a complex Simscape Electrical circuit working. It's not behaving as I'm expecting and I suspect it's ...

6 months ago | 1 answer | 0

1

answer

Question


Why won't my superclass method change my subclass object?
I am trying superclass / subclass relationships for the first time. I have defined a subclass, M, with two super classes, S & R....

7 months ago | 1 answer | 1

1

answer

Question


Can't assign VariableUnits to TimeTable
I'm trying to create a timetable for a motor simulation. I would like to keep track of the units of each variable. Here is my c...

7 months ago | 1 answer | 0

1

answer