photo

Jim Svensson


Actif depuis 2014

Followers: 0   Following: 0

Message

Statistiques

  • 3 Month Streak
  • Revival Level 1
  • First Answer

Afficher les badges

Feeds

Afficher par

Réponse apportée
Matlab does not find new method in class folder without "clear classes"
Quite annoying that Matlab cannot automatically detect if a new method file is. I am sure there are functions in Windows files s...

8 mois il y a | 0

Question


Class array property with size validation is SLOW
Class A has an array property of object of another Class B. Both classes are handle classes. In the constructor of A it pre-al...

9 mois il y a | 1 réponse | 1

1

réponse

Question


Ctrl-C in Matlab R2023b not working well
When running Matlab in Window the keyboard combination Ctrl-C has previously worked well to abort execution of a running matlab ...

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

1

réponse

Question


Why is pow2() slow? Fastest way?
The pow2(x, d) built in function seems unreasonable slow with a floating point vector x. It is about ten times slower than just ...

environ un an il y a | 1 réponse | 0

1

réponse

Réponse apportée
How do I add commas to numbers using fprintf?
I feel that in 2023 this functionality should be supported by sprintf/fprintf.

environ un an il y a | 0

Question


Code completion in editor for function return values?
If you have a class, say "Car", and you directly create an object of it like below you get code completion in the editor on meth...

environ un an il y a | 1 réponse | 0

1

réponse

Réponse apportée
logical indexing with a smaller array should throw a warning
Matlab should definitely require that the logical indexing mask is exactly the same size as the data being indexed. Not doing so...

plus d'un an il y a | 2

Réponse apportée
Disable automatic conversion to reals
I agree that Matlab's way of automatically dropping imaginary part when zero is stupid, very annyoing and it causes extra proble...

plus de 2 ans il y a | 1

Question


Why not possible to use property class validation with abstract class?
In the code below class fruit_t has an abstract method that is implemented by class banana_t. I can not instantiate a fruit_t, ...

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

1

réponse

Question


Matlab does not find new method in class folder without "clear classes"
I want to understand if this is intended behavior or dependes on something specific to my setup. I have a class in a class fold...

environ 3 ans il y a | 2 réponses | 1

2

réponses

Réponse apportée
What is missing from MATLAB #2 - the next decade edition
Maintain dimensions when getting a field of a class. If Data is a 3x2x4 array of objects/structs with a field "foo", then Data....

environ 3 ans il y a | 1

Réponse apportée
What is missing from MATLAB #2 - the next decade edition
Fix the semantics of "clear". "clear all" does not clear all, but "clear classes" does. Go figure. I want a way to clear clas...

environ 3 ans il y a | 4

Réponse apportée
What should go in a next-generation MATLAB X?
Most important Start indexing from 0 Redo package system Improve the class system Improve language a bit (like value += delt...

environ 3 ans il y a | 0

Réponse apportée
How to set object property to Abstract class
It is stupid Matlab language design. It should be normal to define a property to be an abstract class type. As long as it is emp...

plus de 3 ans il y a | 13

Réponse apportée
Warning: Initializing MATLAB Graphics failed.
I have this problem. When can we expect an official fix?

presque 4 ans il y a | 2

Réponse apportée
How do I add commas to numbers using fprintf?
I feel that in 2021 this functionality should be supported by sprintf/fprintf.

presque 4 ans il y a | 9

Question


How to clear a TestCase class from memory?
I have an class based test case as follows (simplified): classdef my_test < matlab.unittest.TestCase properti...

environ 4 ans il y a | 2 réponses | 0

2

réponses

Réponse apportée
Misleading wording in the documentation on Matlab package (+) folders.
I just concur that this is one of the top stupidest design desisions of the Matlab language.

presque 6 ans il y a | 1

Question


How to embed ctf in shared library?
I have this matlab function foo.m. If I run mcc -N -W lib:libfoo -T link:lib foo.m I get a libfoo.so (about 34k in size). ...

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

0

réponse