photo

Greg


Last seen: 1 jour il y a Actif depuis 2013

Followers: 0   Following: 0

Message

Statistiques

All
  • MATLAB Flipbook Mini Hack Participant
  • MATLAB Mini Hack 2022 Participant
  • Pro
  • Thankful Level 2
  • Promoter
  • Commenter
  • First Review
  • MATLAB Mini Hack Participant
  • Revival Level 2
  • 12 Month Streak
  • Knowledgeable Level 4
  • Thankful Level 1

Afficher les badges

Feeds

Afficher par

Réponse apportée
How to use static factory method?
Old question, but maybe others have seen this and wondered the same thing. Fairly simple answer. In your factory method, you...

6 mois il y a | 0

Réponse apportée
UITable in App Designer strips leading white space
I encourage the use of proper horizontal-alignment-right as described in Felix's answer. However, in the event somebody has a r...

environ 3 ans il y a | 0

Réponse apportée
custom UI component issues
" set(obj.Panel,'Parent',obj.Parent) however I am worried that this might cause bugs in the future" You're absolut...

plus de 3 ans il y a | 0

| A accepté

Réponse apportée
Developing UI Component Classes | post-setup initialisation method ?
Your part about "before the update method" is a moving target. The update method is supposed to execute during a graphics flush...

plus de 3 ans il y a | 1

Réponse apportée
Get container size for Custom UI Component
I strongly encourage using uigridlayouts. Everywhere. Every componentcontainer I build starts with a grid, and every app has a...

plus de 3 ans il y a | 0

Réponse apportée
Selecting subset of products for R2020a silent install
I just discovered that if you leave the destinationFolder property commented out (i.e., you want the default without explicitly ...

environ 4 ans il y a | 0

Réponse apportée
How does pairwise parameterization work in the unit test framework?
According to an answer on stack exchange, the minimum number of pairwise combinations is 9. The concept of pairwise combination...

plus de 4 ans il y a | 1

| A accepté

Réponse apportée
How can I resolve ELF file OS ABI invalid errors when starting license manager daemon on older OS?
Oddly, I received the same error (MLM exited with status 127 ()) mentioned above, but not the more useful "MLM: error ... file t...

plus de 4 ans il y a | 0

Réponse apportée
Calling a cyclic function in App Designer
I can't give you actual code examples (every situation is different). But, a probable better approach than the timer in AppDesi...

presque 6 ans il y a | 1

Réponse apportée
How do I set numerical values to options in a dropdown menu made on appdesigner? I will have multiple drop down menus, the the options in each drop down will need their values added together and display the result.
If my assumption in the comment above is accurate, this is a perfect use of the "ItemsData" property of AppDesigner components. ...

presque 6 ans il y a | 1

Réponse apportée
how to do bitxor operation of two 1*255 matrix
result = h1 | h3; Edit: this is logical (bit) or, not xor. As posted elsewhere, simply use the xor function.

presque 6 ans il y a | 0

Réponse apportée
In App Designer I'm having trouble assigning a function handle to TimerFcn.
You missed the second half of the error message: "Undefined function 'Timer_func' for input arguments of type 'timer'." Apps in...

presque 6 ans il y a | 1

| A accepté

Réponse apportée
How do I assign two separate grid on check boxes for two separate plots in a gui?
You're calling grid on before forcing the active axes, which means you're going to have very unreliable behavior. You did bette...

presque 6 ans il y a | 1

Réponse apportée
Struct contents reference from a non-struct array object
If I'm understanding correctly, some indices of your cell array contain tables, and others are empty? What do you want to happe...

presque 6 ans il y a | 0

| A accepté

Réponse apportée
How do I write a code to verify that the filename entered by the user ends in .txt?
filename = input('Enter your filename ending in .txt: ', 's'); s1 = '.txt'; s2 == 'filename' % <-- I think you're confused on ...

presque 6 ans il y a | 1

| A accepté

Réponse apportée
Why does my compiled RAND function give the same values every time I run my MATLAB-generated standalone application?
In R2013a, "getDefaultStream" was replaced by "getGlobalStream" for the RandStream. Prior to that, it generated warnings indica...

environ 6 ans il y a | 0

Réponse apportée
How to resize figure without moving contents
Two things are actually happening. The first is somewhat nitpicky: there is no *public* property |Position| for the ToolbarStat...

environ 6 ans il y a | 0

| A accepté

Réponse apportée
Programmatically capturing screenshots of Simulink blocks and dialogs
You can import java packages into MATLAB, one of them (java.awt.* ??) includes the ability to take screenshots. I'm assuming the...

environ 6 ans il y a | 0

| A accepté

Réponse apportée
How to draw candle with dates?
First, your function cannot work with the example provided. You pass a filename then use it as a table or timetable variable. P...

environ 6 ans il y a | 3

| A accepté

Réponse apportée
How do i see the printed lines of a .exe file in Matlab?
This isn't something MATLAB can do with system calls. And it makes sense that way, because the entire point of |system| or |!| ...

environ 6 ans il y a | 2

| A accepté

Réponse apportée
Question re symbol ~
According to the documentation for <https://www.mathworks.com/help/matlab/matlab_prog/ignore-function-inputs.html Function Input...

environ 6 ans il y a | 0

| A accepté

Réponse apportée
How to shuffle two column array?
The values of |B| being in ascending order along a row has nothing to do with the randomization. It is because |A| is in order ...

environ 6 ans il y a | 0

| A accepté

Réponse apportée
How do you catalogue/index a matrix to be concatenated into a 3D matrix?
You actually had a pretty good start. The only piece of your attempt that wasn't going to work was that you weren't concatenati...

environ 6 ans il y a | 0

Réponse apportée
Besides getting the map toolbox where can I get a copy of Boston.tif?
As you mentioned, it is included with the Mapping toolbox. The folder it lives in contains a text file describing that it came ...

environ 6 ans il y a | 0

| A accepté

Réponse apportée
Binary file reading.
Nobody can possibly answer your question: "why... unwanted stuff...?" Only the author of the binary file format can tell you tha...

environ 6 ans il y a | 0

| A accepté

Réponse apportée
How to vectorize this code to eliminate nested For loops?
Most of that is straightforward, just a couple elementwise periods for safety. Then, the hardest part is getting the logic to p...

environ 6 ans il y a | 0

| A accepté

Réponse apportée
[r,c] =min(A) not returning index values
So the documentation fairly clearly states that output one is an array containing the minimum values, and the second output is t...

environ 6 ans il y a | 0

Réponse apportée
MATLAB Compiler Runtime License Issue
Interestingly, the documentation is not as "in your face obvious" on this question as I would have sworn it was. The entire p...

environ 6 ans il y a | 0

| A accepté

Réponse apportée
Question about "min" command.
One option is to re-compare the first output of |min| to your original matrix. Then, count how many elements match in each colu...

environ 6 ans il y a | 0

| A accepté

Réponse apportée
Why does not this program code work in the third TCP communication?
Take the |fopen| and |fclose| out of the while loop. Repeatedly opening and closing the |tcpip| obj is unnecessary, and usually...

environ 6 ans il y a | 0

Charger plus