Aerospace engineer, software & Algorithms Developer
Professional Interests: aerospace, software development, algorithms, control systems, navigation, signal processing, simulations, data analysis, graphic user interface (GUI)
Update BOM for Unicode text files
Read and change the Byte Order Mark (BOM) of a unicode file, as other Matlab functions which generate such text files do not add...
1 year ago | 6 downloads |
Can fprintf UTF-8 text, but cannot use xmlwrite
Many Matlab functions don't add BOM to the UTF-8 files, although the encoding was set to UTF-8 (I think it's the default). This ...
1 year ago | 0
Create a vector in Simulink
Simulink does not allow you the same freedom as Matlab, in terms of changing the size and type of parameters. There are a few w...
2 years ago | 0
Writing MATLAB image to Excel file at a specific position
You can try to use this function I made: XlsPutImage
2 years ago | 1
Put an image file in an Excel chart
3 years ago | 5 downloads |
Why do I see "The specified key is not present in this container" error in my installation log file when installing a Support Package?
Before uninstalling any app, look if you have any .mex file with the same name, shadowing an .m file. Delete the .mex and see...
3 years ago | 10
How to programatically send Update Diagram command to Simulink
4 years ago | 1
Generate a clone of an open Simulink model (to create an autosave copy)
One of the drawbacks of Simulink is that it still doesn't have an option of autosave. Unless you update or build your model ...
4 years ago | 0 answers | 0
How do I modify a GUIDE-generated GUI to accept input arguments?
Here's another hack: Graphic elements have a field called "UserData". You can stote all the inputs in this elemet, and durin...
5 years ago | 3
how to find objects with handlevisibility off?
Here's a tricky question - How do I find all the objects with HandleVisibility set to off? get(get(gca,'xlabel'),'Handle...
6 years ago | 1 answer | 0
how to use functions from private directories
While I was trying to improve the performance of Excel file reading and writing, I've noticed that *xlsread* is using some other...
6 years ago | 2 answers | 0
RemoveSheet123 - remove default Excel sheets
Remove default sheets ("sheet1" ,"sheet2", "sheet3") from an Excel file
6 years ago | 4 downloads |
Dependency report for a mixed code of Matlab and Simuilink model
I have a Matlab code that calls several Simulink models. There are not a few functions involved, and some .fis files and .mat fi...
6 years ago | 1 answer | 0
Remove fields from a structure array, but without causing error
7 years ago | 0 downloads |
INTERNAL ERROR. Failed assertion in sfdb_breakpoints.c at line 35: (script->bm.breakpoints).length>(unsigned int)(lineNumber-1)
This bug appears also in R2014a, but it is known to Mathworks. It happens because of a hidden breakpoint in an Embedded Matlab ...
7 years ago | 0
Find the center of gravity of an array
COG returns the coordinates of the center of gravity, in each dimension.
7 years ago | 6 downloads |
Ellipse - plot an ellipse according to 3 points
ELLIPSE plots an ellipse, and returns its values using 3 points selected by the user on the figure.
7 years ago | 4 downloads |
Zero crossing with hysteresis
Find zero crossing of a vector or a matrix with hysteresis thresholds
7 years ago | 1 download |