photo

Josh G.


Last seen: 14 jours il y a Actif depuis 2018

Followers: 0   Following: 0

Statistiques

All
  • Knowledgeable Level 2
  • Thankful Level 3
  • Revival Level 1
  • First Answer
  • Solver

Afficher les badges

Feeds

Afficher par

Question


How can I make a textbox selectable?
I'm trying to trigger an event when a textbox is selected. If I manually set the "Selected" property to "on", the box is highlig...

11 mois il y a | 1 réponse | 0

1

réponse

Réponse apportée
Converting Matlab Loops to Fortran
These will be straightforward do loops in Fortran: https://www.tutorialspoint.com/fortran/fortran_do_loop.htm Note that the loo...

plus de 2 ans il y a | 0

| A accepté

Question


How can I get a cross-platform dbstop statement where a file separator is needed?
I need to insert a breakpoint into a class method at the beginning of a specific while loop. The position of this loop is subjec...

plus de 2 ans il y a | 1 réponse | 0

1

réponse

Question


Is there a way to install MATLAB without launching a window as root?
Every time I install a new version of Matlab, I wince as I launch the installer as root. Running graphical applications as root ...

environ 3 ans il y a | 1 réponse | 0

1

réponse

Question


How can I get a string with a line break to be centered in a uicontrol?
I'm trying to center text with a line break in it in a figure, but the second line is never centered correctly. Here's an exampl...

plus de 3 ans il y a | 1 réponse | 0

1

réponse

Réponse apportée
How can I set the focus to a GUI element created with javacomponent?
I finally had a chance to sit down and hammer away at this until I found a solution, so I'll post it here for anyone else who ne...

plus de 3 ans il y a | 0

| A accepté

Question


How can I set the focus to a GUI element created with javacomponent?
I need to use a javacomponent text field to take advantage of the FocusLostCallback property. However, the only way I know of to...

presque 4 ans il y a | 2 réponses | 1

2

réponses

Question


How am I using set wrong?
I'm trying to use set to copy a set of fields from one struct to another. Here's a minimal (non)working example of what I'm tryi...

presque 4 ans il y a | 1 réponse | 0

1

réponse

Réponse apportée
Supress MEX warning: f951: Warning: Nonexistent include directory ‘MATLABROOT/simulink/include’ [-Wmissing-include-dirs]
Usually you could just pass a compiler option that would disable this warning, but a bug in gfortran causes the -Wno-missing-inc...

environ 4 ans il y a | 0

Réponse apportée
Error when compiling Fortran MEX file with mxCreateStructMatrix
After some more testing I figured out what the problem was. The precompilation was failing because each function has to be defin...

environ 4 ans il y a | 0

| A accepté

Question


Error when compiling Fortran MEX file with mxCreateStructMatrix
I'm trying to create a struct as an output of a MEX file, but when I try to compile the file, I get errors about the function mx...

environ 4 ans il y a | 1 réponse | 1

1

réponse

Question


How can I suppress warnings about javacomponent being deprecated?
I've got a GUI that uses Java functionality and requires use of the javacomponent function. While javacomponent is still availab...

plus de 4 ans il y a | 2 réponses | 1

2

réponses

Réponse apportée
Utilizing Gfortran with Matlab File Output
I know this is pretty late, but since nobody else answered your question, check the output of mex -v $foo.F: Building with 'g...

environ 5 ans il y a | 1

| A accepté

Question


Intel Fortran compiler not found
I'm trying to get Fortran mex file compilation working on Windows 10 in Matlab R2019a. I've got a trial version of Intel Paralle...

environ 5 ans il y a | 1 réponse | 1

1

réponse

Réponse apportée
Are Fortran mex files restricted to fixed format?
I figured this out a few minutes after posting my question by trying something I thought I had already tried: adding the -R2018a...

environ 5 ans il y a | 0

Question


Are Fortran mex files restricted to fixed format?
I'm learning to mex Fortran files and am having trouble with the timestwo.F tutorial. I'm able to compile and run the built-in, ...

environ 5 ans il y a | 1 réponse | 0

1

réponse

Réponse apportée
How can I hide the "Az: El:" readout while rotating an axes object?
I've solved this, so I'll describe the solution in case anyone else wants to do this. In my GUI, I had to enable rotation manua...

plus de 5 ans il y a | 0

| A accepté

Question


How can I hide the "Az: El:" readout while rotating an axes object?
I'm designing a programmatic GUI with a popup window to illustrate how azimuth and elevation are defined. This illustration is i...

plus de 5 ans il y a | 1 réponse | 0

1

réponse

Question


Why is isstr not recommended?
When using isstr in my code, I get a warning that it is not recommended and I should use ischar instead. But ischar doesn't prov...

plus de 5 ans il y a | 1 réponse | 0

1

réponse

A résolu


Vector pop
Take |n| elements from the end of the vector |v| and return both the shorten vector |v| and the |n| elements in a separate vecto...

plus de 5 ans il y a

Réponse apportée
Linux: Difference between bin/glnax64 and sys/os/glnax64
These directories include different libraries. If you look through them, you'll see that sys/os/glnxa64 has C,C++, and Fortran l...

presque 6 ans il y a | 1

| A accepté

Réponse apportée
MATLAB R2018a linux scaling issues
This won't help with scaling issues for icons (if that's what you mean), but for text, go to Preferences > Fonts to set the text...

presque 6 ans il y a | 0

A résolu


Column norms of a matrix
Given a matrix M, return a vector y such that for each k y(k)=norm(M(:,k)) (y(k) is the Euclidean norm of the k-th col...

presque 6 ans il y a