Rank: 489 based on 177 downloads (last 30 days) and 20 files submitted
photo

Ivar Eskerud Smith

E-mail

Personal Profile:

Researcher

Professional Interests:

 

Watch this Author's files

 

Files Posted by Ivar View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
04 Feb 2013 Hampel filter in C++ Detect and replace outliers in a signal. Author: Ivar Eskerud Smith hampel, outlier, median, filter 7 0
17 Jan 2013 Control MS Word from matlab A set of functions that can control word from matlab by activex. Author: Ivar Eskerud Smith activex, word, microsoft, ms, office, i will have to see if... 73 17
  • 4.33333
4.3 | 3 ratings
16 Oct 2012 addScrollbar Add a scrollbar to scroll the x- or y-axis on one or more axes in a figure. Author: Ivar Eskerud Smith scroll, scrollbar, axis, limits, ui, control 5 0
18 Jun 2012 Order of magnitude of number Returns the order of magnitude of one or more numbers. Author: Ivar Eskerud Smith order, magnitude, order of magnitude 17 6
  • 5.0
5.0 | 5 ratings
14 Jun 2012 speedfanReader Code to read temperatures (gpu/cpu/hdd), fan speeds and voltages from speedfan. Author: Ivar Eskerud Smith speedfan, temperature, cpu, gpu 3 1
Comments and Ratings by Ivar View all
Updated File Comments Rating
02 Mar 2013 Control MS Word from matlab A set of functions that can control word from matlab by activex. Author: Ivar Eskerud Smith

Ian Philips: I do not understand why you get that error with the saveAs function, are you sure the word document was not closed before calling that function? Then the wordHandle in the object will be invalid. The insertTable function takes a cell array as input, which can contain both string and numbers. If I get the time I might try to add some more documentation and examples

16 Jan 2013 Control MS Word from matlab A set of functions that can control word from matlab by activex. Author: Ivar Eskerud Smith

I will have to see if I can reproduce the error. Have you moved any files, for instance the Word.m file out of the @Word folder?

05 Sep 2012 Figure Management Utilities These M-files are a collection of utilities for managing groups of figures on multiple monitors. Author: Mirko Hrovat

03 Aug 2012 Java-based data table Spreadsheet display/editing/sorting of data with multiple features Author: Yair Altman

Is it possible to register a callback to detect clicks/when the user selects a row?

20 Jul 2012 speedfanReader Code to read temperatures (gpu/cpu/hdd), fan speeds and voltages from speedfan. Author: Ivar Eskerud Smith

The code used in this mex file is originally GPL licensed, but with an exception it is dual-licensed under GPL v2 and BSD for usage with matlab.

Comments and Ratings on Ivar's Files View all
Updated File Comment by Comments Rating
02 Mar 2013 Control MS Word from matlab A set of functions that can control word from matlab by activex. Author: Ivar Eskerud Smith Eskerud Smith, Ivar

Ian Philips: I do not understand why you get that error with the saveAs function, are you sure the word document was not closed before calling that function? Then the wordHandle in the object will be invalid. The insertTable function takes a cell array as input, which can contain both string and numbers. If I get the time I might try to add some more documentation and examples

22 Feb 2013 struct2File Print a struct to file. Author: Ivar Eskerud Smith Ben

It seems to do what it says. You'll need to download the other file:
http://www.mathworks.com/matlabcentral/fileexchange/35415

I was hoping for something that would work recursively for structs. EG:
>> s1 = struct('one',1,'two','two');
>> s2 = struct('field1',1.1,'field2','a string!');
>> s.s1 = s1;
>> s.s2 = s2;
>> struct2File( s, 'C:/test.txt')

It doesn't do what I was hoping it would, but it still works for simple structs.

25 Jan 2013 Control MS Word from matlab A set of functions that can control word from matlab by activex. Author: Ivar Eskerud Smith Phillips, Ian

I am using Matlab R2009a (Version 7.8) with MS Word 2010.
In general an excellent library for controlling MS Word, the only problem is the lack of examples and documentation.
The example you posted on the 15th June 2012 worked great except for the command "saveAs(w,file);" which returns the following error:

??? Error using ==> saveas at 59
Invalid handle.

Error in ==> dir_test3 at 100
saveAs(w,file);

Any suggestions?

Please can you also post an example that uses the scalePicture and insertTable functions? In particular, what is the format of the data passed into the insertTable function?

Thanks again for the great library.

16 Jan 2013 Control MS Word from matlab A set of functions that can control word from matlab by activex. Author: Ivar Eskerud Smith Eskerud Smith, Ivar

I will have to see if I can reproduce the error. Have you moved any files, for instance the Word.m file out of the @Word folder?

15 Jan 2013 Control MS Word from matlab A set of functions that can control word from matlab by activex. Author: Ivar Eskerud Smith Peter

Hi Ivar,

I get the same error as Karthik KJ. Has this been resolved?

I'm using Matlab R2012b and MS Word 2012.

Hope very much to get this fixed! :)

-Peter

Top Tags Applied by Ivar
varargin, arguments, axis, cellstring, delimiter
Files Tagged by Ivar View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
04 Feb 2013 Hampel filter in C++ Detect and replace outliers in a signal. Author: Ivar Eskerud Smith hampel, outlier, median, filter 7 0
17 Jan 2013 Control MS Word from matlab A set of functions that can control word from matlab by activex. Author: Ivar Eskerud Smith activex, word, microsoft, ms, office, i will have to see if... 73 17
  • 4.33333
4.3 | 3 ratings
16 Oct 2012 addScrollbar Add a scrollbar to scroll the x- or y-axis on one or more axes in a figure. Author: Ivar Eskerud Smith scroll, scrollbar, axis, limits, ui, control 5 0
18 Jun 2012 Order of magnitude of number Returns the order of magnitude of one or more numbers. Author: Ivar Eskerud Smith order, magnitude, order of magnitude 17 6
  • 5.0
5.0 | 5 ratings
14 Jun 2012 speedfanReader Code to read temperatures (gpu/cpu/hdd), fan speeds and voltages from speedfan. Author: Ivar Eskerud Smith speedfan, temperature, cpu, gpu 3 1

Contact us