Projects: Difference between revisions

152 bytes added ,  17 September 2014
→‎Functions with different syntax: Added note about adding additional syntax that don't exist in Matlab (makes porting Octave code to Matlab more difficult)
(→‎Functions with different syntax: Added note about adding support for Matlab functions)
(→‎Functions with different syntax: Added note about adding additional syntax that don't exist in Matlab (makes porting Octave code to Matlab more difficult))
Line 407: Line 407:
The following functions have different syntax in Matlab and in Octave and makes porting more difficult:
The following functions have different syntax in Matlab and in Octave and makes porting more difficult:
* <tt>repmat</tt>
* <tt>repmat</tt>
When adding support for functions that exist in Matlab, make sure the syntax is the same as in Matlab from the beginning, as it breaks backward compatibility to change it later!!!
 
'''Note:''' When adding support for functions that exist in Matlab, make sure the syntax is the same as in Matlab from the beginning, as it breaks backward compatibility to change it later!!! Also think twice about adding additional syntax that don't exist in Matlab, as this makes it more difficult to port Octave code to Matlab.
12

edits