Captain Karnage
Followers: 0 Following: 0
Programming Languages:
Python, C++, C, Javascript, MATLAB, SQL, HTML, CSS, Perl, Fortran, Visual Basic
Spoken Languages:
English, French
Python, C++, C, Javascript, MATLAB, SQL, HTML, CSS, Perl, Fortran, Visual Basic
Spoken Languages:
English, French
Feeds
回答済み
How do I check if a property exists for an empty object?
After typing it out and pondering for just a little bit, I figured it out. Would still be nice if isprop worked, but this statem...
How do I check if a property exists for an empty object?
After typing it out and pondering for just a little bit, I figured it out. Would still be nice if isprop worked, but this statem...
約1年 前 | 0
質問
How do I check if a property exists for an empty object?
I have a function that gets passed an object named exObj . The intent is this object can be one of a set of custom class objects...
約1年 前 | 1 件の回答 | 0
1
回答質問
What are Some General Tips for Making a Simulink model itself more efficient?
For MATLAB, there's a general rule of trying to vectorize operations to make MATLAB more efficient, and a few other general ways...
約1年 前 | 1 件の回答 | 0
1
回答質問
How can I use a mask to switch between internal and external clock in a referenced subsystem?
Here's my situation: I have a subsystem saved as its own file, let's call it "DDS.mdl" I use a Referenced Subsystem block to u...
約1年 前 | 1 件の回答 | 0
1
回答回答済み
how to automatically sprintf an array elements
Here's another alternative, more verbose but on a single line: A1 = [1 14 20 8]; A2 = [5 1 20]; A3 = [2]; ...
how to automatically sprintf an array elements
Here's another alternative, more verbose but on a single line: A1 = [1 14 20 8]; A2 = [5 1 20]; A3 = [2]; ...
1年以上 前 | 0
回答済み
Non-scalar enumerations of class double
There's a few problems with attempting to do this in MATLAB. First, though you can make an enumeration a subclass of a built-in ...
Non-scalar enumerations of class double
There's a few problems with attempting to do this in MATLAB. First, though you can make an enumeration a subclass of a built-in ...
1年以上 前 | 0
質問
Check Thyristor Holding Current in Simscape model
I am using a thyristor in a Simulink Simscape electrical model. I have copied over all of the applicable parameters from the man...
1年以上 前 | 1 件の回答 | 0
1
回答回答済み
Array of properties of an array of objects
I was feeling extra crazy today, so I decided to set out to actually answer the OP's original question as stated. "Is there a w...
Array of properties of an array of objects
I was feeling extra crazy today, so I decided to set out to actually answer the OP's original question as stated. "Is there a w...
1年以上 前 | 0
回答済み
Array of properties of an array of objects
Here's one possibility. Add this function (that I'm just calling get, but name it whatever you want) as a method in your class. ...
Array of properties of an array of objects
Here's one possibility. Add this function (that I'm just calling get, but name it whatever you want) as a method in your class. ...
1年以上 前 | 0
回答済み
How to support default parameter in MATLAB FUNCTION ?
Yet another update. As of R2021a, MATLAB supports name/value arguments using either the old, quoted name, value list syntax or n...
How to support default parameter in MATLAB FUNCTION ?
Yet another update. As of R2021a, MATLAB supports name/value arguments using either the old, quoted name, value list syntax or n...
1年以上 前 | 1
質問
Vectorize a table row with mixed numeric values
MATLAB has the ability to concatenate different numerical types and make an array of the type with the most precision, sort of. ...
1年以上 前 | 1 件の回答 | 0
1
回答回答済み
Why is during intgration of velocity signal in simulink exhibits drift in position signal ?
This is an old question, and I can't say for sure without seeing your exact Simulink model, but here is a potential answer. When...
Why is during intgration of velocity signal in simulink exhibits drift in position signal ?
This is an old question, and I can't say for sure without seeing your exact Simulink model, but here is a potential answer. When...
1年以上 前 | 0
回答済み
How to Filter a Commanded Position to have Velocity and Acceleration Limits in Simulink
I believe I have a much simpler solution if you'd like to see it. First of all, for your velocity limit, use the built-in rate ...
How to Filter a Commanded Position to have Velocity and Acceleration Limits in Simulink
I believe I have a much simpler solution if you'd like to see it. First of all, for your velocity limit, use the built-in rate ...
1年以上 前 | 1
回答済み
How to get the name of the calling class in a static method?
Another option is you can pass an empty version of the subclass enumeration to the superclass method. This would mean you have t...
How to get the name of the calling class in a static method?
Another option is you can pass an empty version of the subclass enumeration to the superclass method. This would mean you have t...
1年以上 前 | 0
回答済み
OOP: Reference (subclass) enumeration names from static superclass method. Possible?
If your goal is to make this function only accessible from the superclass and its subclasses, and you want to just be able to ed...
OOP: Reference (subclass) enumeration names from static superclass method. Possible?
If your goal is to make this function only accessible from the superclass and its subclasses, and you want to just be able to ed...
1年以上 前 | 1
回答済み
How do I create a property in a class that is a direct handle to another class object
Here is a lighter weight Class that achieves my original goal. Similar to HandleObject, it stores an existing object inside as a...
How do I create a property in a class that is a direct handle to another class object
Here is a lighter weight Class that achieves my original goal. Similar to HandleObject, it stores an existing object inside as a...
1年以上 前 | 0
| 採用済み
回答済み
Converting a comma separated list into an array concatenates them.
This can also be done in one line (using type for an example): If you want a horizontal array: typearr = string({B0005.cycle.t...
Converting a comma separated list into an array concatenates them.
This can also be done in one line (using type for an example): If you want a horizontal array: typearr = string({B0005.cycle.t...
1年以上 前 | 0
回答済み
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...
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...
1年以上 前 | 0
| 採用済み
回答済み
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...
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年弱 前 | 0
質問
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年弱 前 | 3 件の回答 | 0
3
回答質問
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年弱 前 | 2 件の回答 | 0
2
回答回答済み
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...
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年弱 前 | 1
質問
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年弱 前 | 2 件の回答 | 0
2
回答質問
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年弱 前 | 3 件の回答 | 0
3
回答回答済み
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,...
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年弱 前 | 1
質問
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...
2年弱 前 | 1 件の回答 | 0
1
回答回答済み
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 ...
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 ...
2年弱 前 | 0
| 採用済み
質問
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...
2年弱 前 | 2 件の回答 | 0
2
回答回答済み
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...
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...
2年弱 前 | 0
質問
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 ...
2年弱 前 | 1 件の回答 | 0