From 36aca8aaaee5cf8cb5452268fd07c0b558b000a3 Mon Sep 17 00:00:00 2001 From: rupak Date: Tue, 21 Jan 2020 15:20:25 +0530 Subject: created a scilab toolbox structure --- README.md | 13 + builder.sce | 52 +++ cleaner.sce | 64 ++++ etc/FOSSEE_Communication_Systems_Toolbox.quit | 37 ++ etc/FOSSEE_Communication_Systems_Toolbox.start | 65 ++++ etc/toolbox_skeleton_preferences.xml | 18 + etc/toolbox_skeleton_preferences.xsl | 39 +++ help/builder_help.sce | 12 + help/cleaner_help.sce | 21 ++ help/en_US/arithenco.xml | 23 ++ help/en_US/build_help.sce | 3 + help/en_US/master_help.xml | 23 ++ help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS | Bin 0 -> 42 bytes .../scilab_en_US_help/JavaHelpSearch/DOCS.TAB | 1 + .../en_US/scilab_en_US_help/JavaHelpSearch/OFFSETS | 1 + .../scilab_en_US_help/JavaHelpSearch/POSITIONS | 1 + help/en_US/scilab_en_US_help/JavaHelpSearch/SCHEMA | 2 + help/en_US/scilab_en_US_help/JavaHelpSearch/TMAP | Bin 0 -> 2048 bytes help/en_US/scilab_en_US_help/ScilabCaution.png | Bin 0 -> 603 bytes help/en_US/scilab_en_US_help/ScilabEdit.png | Bin 0 -> 574 bytes help/en_US/scilab_en_US_help/ScilabExecute.png | Bin 0 -> 660 bytes help/en_US/scilab_en_US_help/ScilabImportant.png | Bin 0 -> 717 bytes help/en_US/scilab_en_US_help/ScilabNote.png | Bin 0 -> 863 bytes help/en_US/scilab_en_US_help/ScilabTip.png | Bin 0 -> 863 bytes help/en_US/scilab_en_US_help/ScilabWarning.png | Bin 0 -> 603 bytes help/en_US/scilab_en_US_help/arithenco.html | 57 +++ help/en_US/scilab_en_US_help/c_code.css | 54 +++ help/en_US/scilab_en_US_help/index.html | 55 +++ help/en_US/scilab_en_US_help/jhelpidx.xml | 3 + help/en_US/scilab_en_US_help/jhelpmap.jhm | 7 + help/en_US/scilab_en_US_help/jhelpset.hs | 28 ++ help/en_US/scilab_en_US_help/jhelptoc.xml | 9 + help/en_US/scilab_en_US_help/scilab_code.css | 96 +++++ .../section_1f049b1e3111e3d1d538e7603f77f589.html | 55 +++ help/en_US/scilab_en_US_help/style.css | 386 +++++++++++++++++++++ help/en_US/scilab_en_US_help/xml_code.css | 94 +++++ help/fr_FR/build_help.sce | 3 + help/fr_FR/c_multiplybypi.xml | 56 +++ help/fr_FR/c_sub.xml | 86 +++++ help/fr_FR/c_sum.xml | 62 ++++ help/fr_FR/fortran_sum.xml | 62 ++++ help/fr_FR/scilab_sum.xml | 63 ++++ jar/org.scilab.contrib.toolboxskeleton.jar | Bin 0 -> 563 bytes jar/scilab_en_US_help.jar | Bin 0 -> 14457 bytes license.txt | 9 + loader.sce | 20 ++ locales/en_US.po | 35 ++ .../FOSSEE_Communication_Systems_Toolbox.mo | Bin 0 -> 130 bytes .../FOSSEE_Communication_Systems_Toolbox.po | 35 ++ locales/en_US/LC_MESSAGES/scilab_toolbox.mo | Bin 0 -> 130 bytes locales/en_US/LC_MESSAGES/scilab_toolbox.po | 35 ++ locales/en_US/LC_MESSAGES/toolbox_skeleton.po | 35 ++ locales/fr_FR.po | 32 ++ .../FOSSEE_Communication_Systems_Toolbox.mo | Bin 0 -> 629 bytes .../FOSSEE_Communication_Systems_Toolbox.po | 32 ++ locales/fr_FR/LC_MESSAGES/scilab_toolbox.mo | Bin 0 -> 629 bytes locales/fr_FR/LC_MESSAGES/scilab_toolbox.po | 32 ++ locales/fr_FR/LC_MESSAGES/toolbox_skeleton.po | 32 ++ macros/alignsignals.bin | Bin 0 -> 19752 bytes macros/alignsignals.sci | 2 +- macros/arithdeco.bin | Bin 0 -> 22733 bytes macros/arithenco.bin | Bin 0 -> 22355 bytes macros/arithenco.sci | 2 +- macros/build_help.sce | 5 - macros/buildmacros.sce | 10 + macros/finddelay.bin | Bin 0 -> 26477 bytes macros/gfcosets.bin | Bin 0 -> 10350 bytes macros/gflineq.bin | Bin 0 -> 19682 bytes macros/gfrepcov.bin | Bin 0 -> 5439 bytes macros/gftrunc.bin | Bin 0 -> 4631 bytes macros/iqcoef2imbal.bin | Bin 0 -> 12452 bytes macros/iqimbal2coef.bin | Bin 0 -> 9184 bytes macros/iqimbal2coef.sci | 3 +- macros/iscatastrophic.bin | Bin 0 -> 6927 bytes macros/istrellis.bin | Bin 0 -> 16135 bytes macros/lib | 17 + macros/lteZadoffChuSeq.bin | Bin 0 -> 6969 bytes macros/ssbdemod.bin | Bin 0 -> 18419 bytes unloader.sce | 23 ++ 79 files changed, 1902 insertions(+), 8 deletions(-) create mode 100644 README.md create mode 100644 builder.sce create mode 100644 cleaner.sce create mode 100644 etc/FOSSEE_Communication_Systems_Toolbox.quit create mode 100644 etc/FOSSEE_Communication_Systems_Toolbox.start create mode 100644 etc/toolbox_skeleton_preferences.xml create mode 100644 etc/toolbox_skeleton_preferences.xsl create mode 100644 help/builder_help.sce create mode 100644 help/cleaner_help.sce create mode 100644 help/en_US/arithenco.xml create mode 100644 help/en_US/build_help.sce create mode 100644 help/en_US/master_help.xml create mode 100644 help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS create mode 100644 help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS.TAB create mode 100644 help/en_US/scilab_en_US_help/JavaHelpSearch/OFFSETS create mode 100644 help/en_US/scilab_en_US_help/JavaHelpSearch/POSITIONS create mode 100644 help/en_US/scilab_en_US_help/JavaHelpSearch/SCHEMA create mode 100644 help/en_US/scilab_en_US_help/JavaHelpSearch/TMAP create mode 100644 help/en_US/scilab_en_US_help/ScilabCaution.png create mode 100644 help/en_US/scilab_en_US_help/ScilabEdit.png create mode 100644 help/en_US/scilab_en_US_help/ScilabExecute.png create mode 100644 help/en_US/scilab_en_US_help/ScilabImportant.png create mode 100644 help/en_US/scilab_en_US_help/ScilabNote.png create mode 100644 help/en_US/scilab_en_US_help/ScilabTip.png create mode 100644 help/en_US/scilab_en_US_help/ScilabWarning.png create mode 100644 help/en_US/scilab_en_US_help/arithenco.html create mode 100644 help/en_US/scilab_en_US_help/c_code.css create mode 100644 help/en_US/scilab_en_US_help/index.html create mode 100644 help/en_US/scilab_en_US_help/jhelpidx.xml create mode 100644 help/en_US/scilab_en_US_help/jhelpmap.jhm create mode 100644 help/en_US/scilab_en_US_help/jhelpset.hs create mode 100644 help/en_US/scilab_en_US_help/jhelptoc.xml create mode 100644 help/en_US/scilab_en_US_help/scilab_code.css create mode 100644 help/en_US/scilab_en_US_help/section_1f049b1e3111e3d1d538e7603f77f589.html create mode 100644 help/en_US/scilab_en_US_help/style.css create mode 100644 help/en_US/scilab_en_US_help/xml_code.css create mode 100644 help/fr_FR/build_help.sce create mode 100644 help/fr_FR/c_multiplybypi.xml create mode 100644 help/fr_FR/c_sub.xml create mode 100644 help/fr_FR/c_sum.xml create mode 100644 help/fr_FR/fortran_sum.xml create mode 100644 help/fr_FR/scilab_sum.xml create mode 100644 jar/org.scilab.contrib.toolboxskeleton.jar create mode 100644 jar/scilab_en_US_help.jar create mode 100644 license.txt create mode 100644 loader.sce create mode 100644 locales/en_US.po create mode 100644 locales/en_US/LC_MESSAGES/FOSSEE_Communication_Systems_Toolbox.mo create mode 100644 locales/en_US/LC_MESSAGES/FOSSEE_Communication_Systems_Toolbox.po create mode 100644 locales/en_US/LC_MESSAGES/scilab_toolbox.mo create mode 100644 locales/en_US/LC_MESSAGES/scilab_toolbox.po create mode 100644 locales/en_US/LC_MESSAGES/toolbox_skeleton.po create mode 100644 locales/fr_FR.po create mode 100644 locales/fr_FR/LC_MESSAGES/FOSSEE_Communication_Systems_Toolbox.mo create mode 100644 locales/fr_FR/LC_MESSAGES/FOSSEE_Communication_Systems_Toolbox.po create mode 100644 locales/fr_FR/LC_MESSAGES/scilab_toolbox.mo create mode 100644 locales/fr_FR/LC_MESSAGES/scilab_toolbox.po create mode 100644 locales/fr_FR/LC_MESSAGES/toolbox_skeleton.po create mode 100644 macros/alignsignals.bin create mode 100644 macros/arithdeco.bin create mode 100644 macros/arithenco.bin delete mode 100644 macros/build_help.sce create mode 100644 macros/buildmacros.sce create mode 100644 macros/finddelay.bin create mode 100644 macros/gfcosets.bin create mode 100644 macros/gflineq.bin create mode 100644 macros/gfrepcov.bin create mode 100644 macros/gftrunc.bin create mode 100644 macros/iqcoef2imbal.bin create mode 100644 macros/iqimbal2coef.bin create mode 100644 macros/iscatastrophic.bin create mode 100644 macros/istrellis.bin create mode 100644 macros/lib create mode 100644 macros/lteZadoffChuSeq.bin create mode 100644 macros/ssbdemod.bin create mode 100644 unloader.sce diff --git a/README.md b/README.md new file mode 100644 index 0000000..326eaa1 --- /dev/null +++ b/README.md @@ -0,0 +1,13 @@ +# FOSSEE_Communication_Toolbox + +This is a scilab toolbox that provides the users with various pre-defined functions for communication systems. It requires octave to be installed on the system. + +## This toolbox has been built and tested using +1. `OS - Linux Debian 10, Ubuntu 18.10 (64-bit)` +2. `Octave - Version 4.4.1, 5.1.0` +3. `Scilab - Version 6.0.1, 6.0.2` + +## Software prerequisites: +It requires the FOSSEE-Scilab-Octave-Toolbox to be installed and working on the system. See https://atoms.scilab.org/toolboxes/FSOT and download its latest version. + + diff --git a/builder.sce b/builder.sce new file mode 100644 index 0000000..c58e2c7 --- /dev/null +++ b/builder.sce @@ -0,0 +1,52 @@ +// Copyright (C) 2008 - INRIA +// Copyright (C) 2009-2011 - DIGITEO + +// This file is released under the 3-clause BSD license. See COPYING-BSD. + +mode(-1); +lines(0); + +function main_builder() + TOOLBOX_NAME = "FOSSEE_Communication_Systems_Toolbox"; + TOOLBOX_TITLE = "FOSSEE_Communication_Systems_Toolbox"; + toolbox_dir = get_absolute_file_path("builder.sce"); + + // Check Scilab's version + // ============================================================================= + + try + v = getversion("scilab"); + catch + error(gettext("Scilab 6.0 or more is required.")); + end + + if v(1) < 6 then + // new API in scilab 5.3 + error(gettext("Scilab 6.0 or more is required.")); + end + + // Check modules_manager module availability + // ============================================================================= + + if ~isdef("tbx_build_loader") then + error(msprintf(gettext("%s module not installed."), "modules_manager")); + end + + // Action + // ============================================================================= + + tbx_builder_macros(toolbox_dir); + //tbx_builder_gateway(toolbox_dir); + tbx_build_localization(toolbox_dir); + tbx_builder_help(toolbox_dir); + tbx_build_loader(toolbox_dir); + tbx_build_cleaner(toolbox_dir); + help_from_sci("macros","help/en_US"); + +endfunction +// ============================================================================= +main_builder(); +clear main_builder; // remove main_builder on stack +// ============================================================================= + + diff --git a/cleaner.sce b/cleaner.sce new file mode 100644 index 0000000..aab2d3e --- /dev/null +++ b/cleaner.sce @@ -0,0 +1,64 @@ +// This file is released under the 3-clause BSD license. See COPYING-BSD. +// Generated by builder.sce: Please, do not edit this file + +oldmode = mode(); +oldlines = lines()(2); +lines(0); + +function perform_clean() + root_tlbx = get_absolute_file_path('cleaner.sce'); + + if isfile(root_tlbx + '/macros/cleanmacros.sce') then + exec(root_tlbx+'/macros/cleanmacros.sce'); + else + if isdir(root_tlbx + "/macros/") then + deletefile(root_tlbx + "/macros/lib"); + binfiles = findfiles(root_tlbx + "/macros/", "*.bin"); + if ~isempty(binfiles) then + deletefile(root_tlbx + "/macros/" + binfiles); + end + end + end + + if isfile(root_tlbx + "/src/cleaner_src.sce") then + exec(root_tlbx + "/src/cleaner_src.sce"); + mdelete(root_tlbx + "/src/cleaner_src.sce"); + end + + if isfile(root_tlbx + "/sci_gateway/cleaner_gateway.sce") then + exec(root_tlbx + "/sci_gateway/cleaner_gateway.sce"); + mdelete(root_tlbx + "/sci_gateway/cleaner_gateway.sce"); + end + + if isfile(root_tlbx + "/help/cleaner_help.sce") then + exec(root_tlbx + "/help/cleaner_help.sce"); + else + if isdir(root_tlbx + "/jar/") then + rmdir(root_tlbx + "/jar/", "s"); + end + end + + if isfile(root_tlbx + "/loader.sce") then + mdelete(root_tlbx + "/loader.sce"); + end + + if isfile(root_tlbx + "/unloader.sce") then + mdelete(root_tlbx + "/unloader.sce"); + end +endfunction + +try + perform_clean(); +catch + [errmsg, tmp, nline, func] = lasterror(); + msg = "%s: error on line #%d: ""%s""\n"; + msg = msprintf(msg, func, nline, errmsg); + lines(oldlines); + mode(oldmode); + clear perform_clean oldlines oldmode tmp nline func errmsg; + error(msg); +end + +lines(oldlines) +mode(oldmode); +clear perform_clean oldlines oldmode; diff --git a/etc/FOSSEE_Communication_Systems_Toolbox.quit b/etc/FOSSEE_Communication_Systems_Toolbox.quit new file mode 100644 index 0000000..dca3560 --- /dev/null +++ b/etc/FOSSEE_Communication_Systems_Toolbox.quit @@ -0,0 +1,37 @@ +// This file is released under the 3-clause BSD license. See COPYING-BSD. + +// Some specific hooks can be specify here when the module is unloaded. + +function quitModule() + + etc_tlbx = get_absolute_file_path("FOSSEE_Communication_Systems_Toolbox.quit"); + etc_tlbx = getshortpathname(etc_tlbx); + root_tlbx = strncpy( etc_tlbx, length(etc_tlbx)-length("\etc\") ); + + //unlink libraries + [bOK, ilib] = c_link('skeleton_cpp'); + if bOK then + ulink(ilib); + end + + [bOK, ilib] = c_link('skeleton_c'); + if bOK then + ulink(ilib); + end + + [bOK, ilib] = c_link('skeleton_fortran'); + if bOK then + ulink(ilib); + end + + // Remove Preferences GUI + // ============================================================================= + if getscilabmode() == "STD" then + removeModulePreferences(root_tlbx); + end + +endfunction + + +quitModule(); +clear quitModule; diff --git a/etc/FOSSEE_Communication_Systems_Toolbox.start b/etc/FOSSEE_Communication_Systems_Toolbox.start new file mode 100644 index 0000000..6f6b455 --- /dev/null +++ b/etc/FOSSEE_Communication_Systems_Toolbox.start @@ -0,0 +1,65 @@ +// Copyright (C) 2008 - INRIA +// Copyright (C) 2009 - DIGITEO + +// This file is released under the 3-clause BSD license. See COPYING-BSD. + +function scilab_toolboxlib = startModule() + + TOOLBOX_NAME = "FOSSEE_Communication_Systems_Toolbox"; + TOOLBOX_TITLE = "FOSSEE_Communication_Systems_Toolbox"; + + mprintf("Start " + TOOLBOX_TITLE + "\n"); + + if isdef("FOSSEE_Communication_Systems_Toolboxlib") then + warning("FOSSEE_Communication_Systems_Toolbox library is already loaded"); + return; + end + + etc_tlbx = get_absolute_file_path("FOSSEE_Communication_Systems_Toolbox.start"); + etc_tlbx = getshortpathname(etc_tlbx); + root_tlbx = strncpy( etc_tlbx, length(etc_tlbx)-length("\etc\") ); + +//Load functions library +// ============================================================================= + mprintf("\tLoad macros\n"); + pathmacros = pathconvert( root_tlbx ) + "macros" + filesep(); + scilab_toolboxlib = lib(pathmacros); + +// load gateways and Java libraries +// ============================================================================= +// verboseMode = ilib_verbose(); +// ilib_verbose(0); +// mprintf("\tLoad gateways\n"); +// exec(pathconvert(root_tlbx+"/sci_gateway/loader_gateway.sce",%f)); + +// load localization + addlocalizationdomain(TOOLBOX_NAME, root_tlbx + "/locales"); + +// Load and add help chapter +// ============================================================================= + if or(getscilabmode() == ["NW";"STD"]) then + mprintf("\tLoad help\n"); + path_addchapter = pathconvert(root_tlbx+"/jar"); + if ( isdir(path_addchapter) <> [] ) then + add_help_chapter(TOOLBOX_NAME, path_addchapter, %F); + end + end + +// Load demos +// ============================================================================= +// if or(getscilabmode() == ["NW";"STD"]) then +// mprintf("\tLoad demos\n"); +// pathdemos = pathconvert(root_tlbx+"/demos/scilab_toolbox.dem.gateway.sce", %F, %T); +// add_demo(TOOLBOX_TITLE, pathdemos); +// end + +// Load Preferences GUI +// ============================================================================= + // if getscilabmode() == "STD" then + // addModulePreferences(TOOLBOX_TITLE, root_tlbx, etc_tlbx + "scilab_toolbox_preferences.xml"); +// end + +endfunction + +scilab_toolboxlib = startModule(); +clear startModule; // remove startModule on stack diff --git a/etc/toolbox_skeleton_preferences.xml b/etc/toolbox_skeleton_preferences.xml new file mode 100644 index 0000000..f4f08c0 --- /dev/null +++ b/etc/toolbox_skeleton_preferences.xml @@ -0,0 +1,18 @@ + + +
+ + + + + + + diff --git a/etc/toolbox_skeleton_preferences.xsl b/etc/toolbox_skeleton_preferences.xsl new file mode 100644 index 0000000..3d57d0d --- /dev/null +++ b/etc/toolbox_skeleton_preferences.xsl @@ -0,0 +1,39 @@ + + + + + + Environment + + + + <HBox> + Foo: + <xsl:call-template name="Select"> + <xsl:with-param name="among"> + <option foo="bar"/> + <option foo="barbar"/> + <option foo="barbarbar"/> + </xsl:with-param> + </xsl:call-template> + </HBox> + + + + + + + <HBox> + <Checkbox listener="ActionListener"> + <xsl:if test="@bar='true'"> + <xsl:attribute name="checked">checked</xsl:attribute> + </xsl:if> + <actionPerformed set="bar" value="true"> + <xsl:call-template name="context"/> + </actionPerformed> + </Checkbox> + Save: + </HBox> + + + \ No newline at end of file diff --git a/help/builder_help.sce b/help/builder_help.sce new file mode 100644 index 0000000..ea6ca9c --- /dev/null +++ b/help/builder_help.sce @@ -0,0 +1,12 @@ +// This file is released under the 3-clause BSD license. See COPYING-BSD. + +mode(-1) +lines(0) + +toolbox_title = "FOSSEE_Communication_Toolbox" + +help_dir = get_absolute_file_path('builder_help.sce'); + +tbx_builder_help_lang("en_US", help_dir); + +clear toolbox_title; diff --git a/help/cleaner_help.sce b/help/cleaner_help.sce new file mode 100644 index 0000000..a2b5e7e --- /dev/null +++ b/help/cleaner_help.sce @@ -0,0 +1,21 @@ +// This file is released under the 3-clause BSD license. See COPYING-BSD. + +function cleaner_help() + path = get_absolute_file_path("cleaner_help.sce"); + langdirs = dir(path); + langdirs = langdirs.name(langdirs.isdir); + + for l = 1:size(langdirs, "*") + masterfile = fullpath(path + filesep() + langdirs(l) + "/master_help.xml"); + mdelete(masterfile); + + jarfile = fullpath(path + "/../jar/scilab_" + langdirs(l) + "_help.jar"); + mdelete(jarfile); + + tmphtmldir = fullpath(path + "/" + langdirs(l) + "/scilab_" + langdirs(l) + "_help"); + rmdir(tmphtmldir, "s"); + end +endfunction + +cleaner_help(); +clear cleaner_help; diff --git a/help/en_US/arithenco.xml b/help/en_US/arithenco.xml new file mode 100644 index 0000000..e303e05 --- /dev/null +++ b/help/en_US/arithenco.xml @@ -0,0 +1,23 @@ + + + + + + + + arithenco + This function encodes the given sequence using aritmetic coding + + + diff --git a/help/en_US/build_help.sce b/help/en_US/build_help.sce new file mode 100644 index 0000000..7065316 --- /dev/null +++ b/help/en_US/build_help.sce @@ -0,0 +1,3 @@ +// This file is released under the 3-clause BSD license. See COPYING-BSD. + +tbx_build_help(TOOLBOX_TITLE,get_absolute_file_path("build_help.sce")); diff --git a/help/en_US/master_help.xml b/help/en_US/master_help.xml new file mode 100644 index 0000000..b3b27d3 --- /dev/null +++ b/help/en_US/master_help.xml @@ -0,0 +1,23 @@ + + + + +]> + + + FOSSEE_Communication_Systems_Toolbox + + + +FOSSEE_Communication_Systems_Toolbox +&aaa30023c011c2d00a22694ae6ca55e21; + + diff --git a/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS b/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS new file mode 100644 index 0000000..22646bd Binary files /dev/null and b/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS differ diff --git a/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS.TAB b/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS.TAB new file mode 100644 index 0000000..5009c35 --- /dev/null +++ b/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS.TAB @@ -0,0 +1 @@ +eÿÿÿ@ÿÿý€ \ No newline at end of file diff --git a/help/en_US/scilab_en_US_help/JavaHelpSearch/OFFSETS b/help/en_US/scilab_en_US_help/JavaHelpSearch/OFFSETS new file mode 100644 index 0000000..90f9c03 --- /dev/null +++ b/help/en_US/scilab_en_US_help/JavaHelpSearch/OFFSETS @@ -0,0 +1 @@ +‡PƒÉ`ÃÐ \ No newline at end of file diff --git a/help/en_US/scilab_en_US_help/JavaHelpSearch/POSITIONS b/help/en_US/scilab_en_US_help/JavaHelpSearch/POSITIONS new file mode 100644 index 0000000..eeb46b1 --- /dev/null +++ b/help/en_US/scilab_en_US_help/JavaHelpSearch/POSITIONS @@ -0,0 +1 @@ +eÿÿÿU@`.aTò˜Z5Ÿ1iÕfï“Û‚eÿÿÿ\8TI…SÊahÖ|ŧU›¾OPeÿÿÿW(`0`èªyL-Ϙ´ê³wÉî@Ê \ No newline at end of file diff --git a/help/en_US/scilab_en_US_help/JavaHelpSearch/SCHEMA b/help/en_US/scilab_en_US_help/JavaHelpSearch/SCHEMA new file mode 100644 index 0000000..2cfff7d --- /dev/null +++ b/help/en_US/scilab_en_US_help/JavaHelpSearch/SCHEMA @@ -0,0 +1,2 @@ +JavaSearch 1.0 +TMAP bs=2048 rt=0 fl=-1 id1=19 id2=1 diff --git a/help/en_US/scilab_en_US_help/JavaHelpSearch/TMAP b/help/en_US/scilab_en_US_help/JavaHelpSearch/TMAP new file mode 100644 index 0000000..6ca29d9 Binary files /dev/null and b/help/en_US/scilab_en_US_help/JavaHelpSearch/TMAP differ diff --git a/help/en_US/scilab_en_US_help/ScilabCaution.png b/help/en_US/scilab_en_US_help/ScilabCaution.png new file mode 100644 index 0000000..5b2918a Binary files /dev/null and b/help/en_US/scilab_en_US_help/ScilabCaution.png differ diff --git a/help/en_US/scilab_en_US_help/ScilabEdit.png b/help/en_US/scilab_en_US_help/ScilabEdit.png new file mode 100644 index 0000000..d9eaa84 Binary files /dev/null and b/help/en_US/scilab_en_US_help/ScilabEdit.png differ diff --git a/help/en_US/scilab_en_US_help/ScilabExecute.png b/help/en_US/scilab_en_US_help/ScilabExecute.png new file mode 100644 index 0000000..1e23507 Binary files /dev/null and b/help/en_US/scilab_en_US_help/ScilabExecute.png differ diff --git a/help/en_US/scilab_en_US_help/ScilabImportant.png b/help/en_US/scilab_en_US_help/ScilabImportant.png new file mode 100644 index 0000000..8ab7510 Binary files /dev/null and b/help/en_US/scilab_en_US_help/ScilabImportant.png differ diff --git a/help/en_US/scilab_en_US_help/ScilabNote.png b/help/en_US/scilab_en_US_help/ScilabNote.png new file mode 100644 index 0000000..6cf7522 Binary files /dev/null and b/help/en_US/scilab_en_US_help/ScilabNote.png differ diff --git a/help/en_US/scilab_en_US_help/ScilabTip.png b/help/en_US/scilab_en_US_help/ScilabTip.png new file mode 100644 index 0000000..6cf7522 Binary files /dev/null and b/help/en_US/scilab_en_US_help/ScilabTip.png differ diff --git a/help/en_US/scilab_en_US_help/ScilabWarning.png b/help/en_US/scilab_en_US_help/ScilabWarning.png new file mode 100644 index 0000000..5b2918a Binary files /dev/null and b/help/en_US/scilab_en_US_help/ScilabWarning.png differ diff --git a/help/en_US/scilab_en_US_help/arithenco.html b/help/en_US/scilab_en_US_help/arithenco.html new file mode 100644 index 0000000..785de5e --- /dev/null +++ b/help/en_US/scilab_en_US_help/arithenco.html @@ -0,0 +1,57 @@ + + + arithenco + + + + + + + + FOSSEE_Communication_Systems_Toolbox >> FOSSEE_Communication_Systems_Toolbox > arithenco + +

+

arithenco

+

This function encodes the given sequence using aritmetic coding

+
+ + + + diff --git a/help/en_US/scilab_en_US_help/c_code.css b/help/en_US/scilab_en_US_help/c_code.css new file mode 100644 index 0000000..948d2ee --- /dev/null +++ b/help/en_US/scilab_en_US_help/c_code.css @@ -0,0 +1,54 @@ +.ccomment { + font-style: italic; + color: #b22222 +} + +.cdefault { + font-style: normal; + color: #000000 +} + +.copenclose { + font-style: normal; + color: #000000 +} + +.coperator { + font-style: normal; + color: #000000 +} + +.cstring { + font-style: normal; + color: #a6557a +} + +.ctype { + font-style: normal; + color: #55a655 +} + +.cpreprocessor { + font-style: normal; + color: #9965a6 +} + +.cid { + font-style: normal; + color: #000000 +} + +.ckeyword { + font-style: normal; + color: #ad3ff2 +} + +.cmodifier { + font-style: normal; + color: #ad3ff2 +} + +.cnumber { + font-style: normal; + color: #008b8b +} diff --git a/help/en_US/scilab_en_US_help/index.html b/help/en_US/scilab_en_US_help/index.html new file mode 100644 index 0000000..33cb2ea --- /dev/null +++ b/help/en_US/scilab_en_US_help/index.html @@ -0,0 +1,55 @@ + + + + + + +
+ + + + +
+ + + + + +
+
+
+ + + + +

+

FOSSEE_Communication_Systems_Toolbox

+ +
+ +
+ + + + + + +
Report an issue
+ + + + + +
+
+
+ + diff --git a/help/en_US/scilab_en_US_help/jhelpidx.xml b/help/en_US/scilab_en_US_help/jhelpidx.xml new file mode 100644 index 0000000..aa5a66e --- /dev/null +++ b/help/en_US/scilab_en_US_help/jhelpidx.xml @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/help/en_US/scilab_en_US_help/jhelpmap.jhm b/help/en_US/scilab_en_US_help/jhelpmap.jhm new file mode 100644 index 0000000..7c02e3c --- /dev/null +++ b/help/en_US/scilab_en_US_help/jhelpmap.jhm @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/help/en_US/scilab_en_US_help/jhelpset.hs b/help/en_US/scilab_en_US_help/jhelpset.hs new file mode 100644 index 0000000..3798a6a --- /dev/null +++ b/help/en_US/scilab_en_US_help/jhelpset.hs @@ -0,0 +1,28 @@ + + + +FOSSEE_Communication_Systems_Toolbox + +top + + + +TOC + +javax.help.TOCView +jhelptoc.xml + + +Index + +javax.help.IndexView +jhelpidx.xml + + +Search + +javax.help.SearchView +JavaHelpSearch + + \ No newline at end of file diff --git a/help/en_US/scilab_en_US_help/jhelptoc.xml b/help/en_US/scilab_en_US_help/jhelptoc.xml new file mode 100644 index 0000000..30ce6fb --- /dev/null +++ b/help/en_US/scilab_en_US_help/jhelptoc.xml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/help/en_US/scilab_en_US_help/scilab_code.css b/help/en_US/scilab_en_US_help/scilab_code.css new file mode 100644 index 0000000..658f42e --- /dev/null +++ b/help/en_US/scilab_en_US_help/scilab_code.css @@ -0,0 +1,96 @@ +.scilabcomment { + font-style: italic; + color: #01a801 +} + +.scilabdefault { + font-style: normal; + color: #000000 +} + +.scilabspecial { + font-style: normal; + color: #ffaa00 +} + +.scilabconstants { + font-style: normal; + color: #da70d6 +} + +.scilaboperator { + font-style: normal; + color: #5c5c5c +} + +.scilabnumber { + font-style: normal; + color: #bc8f8f +} + +.scilabfkeyword { + font-style: normal; + color: #b01813 +} + +.scilabskeyword { + font-style: normal; + color: #a020f0 +} + +.scilabckeyword { + font-style: normal; + color: #5f9ea0 +} + +.scilabcommand { + font-style: normal; + color: #32b9b9 +} + +.scilabmacro { + font-style: normal; + color: #ae5cb0 +} + +a.scilabcommand { + font-style: normal; + text-decoration: underline; + color: #32b9b9 +} + +a.scilabmacro { + font-style: normal; + text-decoration: underline; + color: #ae5cb0 +} + +.scilabstring { + font-style: normal; + color: #bc8f8f +} + +.scilabid { + font-style: normal; + color: #000000 +} + +.scilabinputoutputargs { + font-weight: bold; + color: #834310 +} + +.scilabfunctionid { + font-weight: bold; + color: #000000 +} + +.scilabfield { + font-style: normal; + color: #aaaaaa +} + +.scilabopenclose { + font-style: normal; + color: #4a55db +} diff --git a/help/en_US/scilab_en_US_help/section_1f049b1e3111e3d1d538e7603f77f589.html b/help/en_US/scilab_en_US_help/section_1f049b1e3111e3d1d538e7603f77f589.html new file mode 100644 index 0000000..1afbe8c --- /dev/null +++ b/help/en_US/scilab_en_US_help/section_1f049b1e3111e3d1d538e7603f77f589.html @@ -0,0 +1,55 @@ + + + + + + +
+ + + + +
+ + + FOSSEE_Communication_Systems_Toolbox + + + +
+
+
+ + + + FOSSEE_Communication_Systems_Toolbox >> FOSSEE_Communication_Systems_Toolbox + +

+

FOSSEE_Communication_Systems_Toolbox

+
  • arithencoThis function encodes the given sequence using aritmetic coding
+
+ +
+ + + + + + +
Report an issue
+ + + FOSSEE_Communication_Systems_Toolbox + + + +
+
+
+ + diff --git a/help/en_US/scilab_en_US_help/style.css b/help/en_US/scilab_en_US_help/style.css new file mode 100644 index 0000000..edc0b85 --- /dev/null +++ b/help/en_US/scilab_en_US_help/style.css @@ -0,0 +1,386 @@ +body { + color:#000000; + background-color:#ffffff; + font-family:sans-serif; + font-size:100%; + margin:5px; + padding:0; + background : url("/img/body.png"); + background-repeat : repeat-x; +} + +.para { + padding-left: 10px; +} + +.refname { + color: #ff6c0a; +} +.refpurpose { + font-size: 110%; +} + +.synopsis { + border: 1px solid #CCCCCC; + width:80%; + padding: 0.5em; +} + +.editbar { + text-align: right; +} + +.term { + color:#A00000; + font-size:100%; + font-weight: 600; +} + +h3 { + color: #0033FF; + font-weight: bold; + font-size:130%; + margin-bottom: 10px; +} + +h4 { + color: #0066FF; + font-weight: bold; + font-size:120%; + margin-bottom: 5px; +} + +h5 { + color: #0099FF; + font-weight: bold; + font-size:110%; + margin-bottom: 1px; +} + +.programlisting { + font-family: monospace; + font-size: 100%; + background-color:#F4F4FF; + border-color:#CCCCCC; + border-style:solid; + border-width:2px medium; + width:90%; + color:#333333; + line-height:120%; + padding:10px; + direction: ltr; +} + +.literal { + font-family: monospace; + font-size: 100%; +} + +.option { + font-family: monospace; + font-style: italic; + font-size: 100%; +} + +.command { + font-family: monospace; + font-size: 100%; + color: #32b9b9; +} + +.function { + font-family: monospace; + font-size: 100%; + color: #32b9b9; + direction: ltr; +} + +.varname { + font-family: monospace; + font-weight: bold; + font-size: 100%; + direction: ltr; +} + +.constant { + font-family: monospace; + font-size: 100%; + color: #da70d6; +} + +a { + color: blue; + text-decoration:none; +} + +a:hover { + text-decoration:underline; +} + +.itemizedlist { + list-style-type: disc; +} + +.inline-list li { + display: inline; + list-style-type: disc; +} + +.vert-list { + list-style-type: disc; +} + +pre { + margin-bottom: 0px; + margin-top: 0px; + direction: ltr; +} + +.leftpart { + position:absolute; + float:left; + width: 186px; + padding: 5px; + font-size: smaller; +} + +.content { + margin-top: 100px; + margin-left: 196px +} + +.container { + margin: 0 auto; + width:1024px; +} + +ul.toc li.list-active { + list-style-type:disc; + font-weight:bold; +} + +ul.toc li.parent { + font-size: 115%; + padding: 5px 0px 5px 11px; + border-bottom: 1px solid #cccccc; + margin-bottom: 5px; +} + +ul.toc li.root { + font-size: 135%; + padding: 5px 0px 5px 11px; + border-bottom: 1px solid #cccccc; + margin-bottom: 5px; +} + +ul.toc li { + font-size: 85%; + margin: 1px 0 1px 1px; + padding: 1px 0 1px 11px; + background-repeat: no-repeat; + background-position: center left; + list-style-type: circle; +} + +.next { + float:right; + text-align: right; +} + +.center { + text-align: center; +} + +.screen { + font-family: monospace; + font-size: 100%; + background-color:#FFFFFF; + border-color:#CCCCCC; + border-style:solid; + border-width:2px medium; + width:90%; + color:#333333; + line-height:120%; + padding:10px; +} + +/* Top and bottom navigation controls on manual pages --------------------- */ +div.manualnavbar { + background-color: #F0F0FF; + color: inherit; + padding: 4px; + margin-bottom: 10px; + direction: ltr; +} +div.manualnavbar .prev { + padding-right: 4px; +} +div.manualnavbar .next { + text-align: right; + padding-left: 4px; +} + +div.manualnavbar .top { + text-align: center; + display: block; +} + +div.manualnavbar hr { + color: #cccccc; + background-color: #cccccc; +} + +/* Footer navigation area ------------------------------------------------- */ + +#pagefooter { + position: relative; + font-size: 75%; + color: inherit; + background-color: #e5e5e5; + width: 100%; +} + +#pagefooterleft { + top: 0px; + left: 0px; + padding: 6px; + margin-right: 30%; +} + +#pagefooterright { + text-align: right; + margin-left: 50%; + padding: 6px; +} +#footnav { + color: inherit; + background-color: #9999cc; + border-width: 1px 0px; + border-color: #333366; + border-style: solid; + text-align: right; + padding-right: 6px; +} + + + + + #global{ +/* width: 90%; */ + max-width: 90em; +/* min-width: 850px; */ + margin-left: auto; + margin-right: auto; + } + + #myHeader{ + background-color:#000000; + color:white; + margin-bottom : 10px; + position : relative; + text-align: center; +/* width : 1024px;*/ + height : 100px; + padding-left : 20px; + background : url("http://atoms.scilab.org/images/homepage/cadre_head.png"); + background-repeat : no-repeat; + background-position : 0px 0px; + + } + + #myFooter{ + background-color:#E5E5E5; + font-color:black; +/* width: 90%;*/ + max-width: 90em; +/* min-width: 850px; + margin-left: 5%; + margin-right: 5%;*/ + margin-top:10px; + padding:10px; + } + + #mainArea{ + width: 100%; + overflow: hidden; + } + + #myLeftArea{ + color:white; + float: left; + width: 180px; + padding:5px; + } + + #myMiddleArea{ + color:black; + margin-left: 200px; + padding: 10px 20px; + } + + #myRightArea{ + color:white; + float: right; + width: 200px; + padding: 12px 20px; + } + + +div#cadre_head +{ + position : relative; + text-align: center; +/* width : 1024px;*/ + height : 100px; + padding-left : 20px; + background : url("/img/cadre_head.png"); + background-repeat : no-repeat; + background-position : 0px 0px; +} + + +div#slogan{ + position: absolute; + top : 50px; + left:251px; + color:#0000AA; + font: 120%, Georgia,Serif; +} +div#cadre_help +{ + position: absolute; + top:45px; + right:0px; + font-size:0.8em; + color:#0000AA; +} +table +{ + border-collapse:collapse +} +th, td { + padding: 4px; +} +table.revhistory +{ + width:90%; + border-color:#CCCCCC; + border-style:solid; + border-width:2px medium; + margin-bottom: 10px; +} + +table.revhistory tr.title td +{ + background-color: #CCCCEE; + font-weight: bold; +} + +td.revnumber +{ + vertical-align: top; +} +tr +{ + vertical-align: top; +} diff --git a/help/en_US/scilab_en_US_help/xml_code.css b/help/en_US/scilab_en_US_help/xml_code.css new file mode 100644 index 0000000..9e4c27f --- /dev/null +++ b/help/en_US/scilab_en_US_help/xml_code.css @@ -0,0 +1,94 @@ +.xmlcomment { + font-style: italic; + color: #01a801 +} + +.xmldefault { + font-style: normal; + color: #000000 +} + +.xmlentity { + font-style: normal; + color: #ffaa00 +} + +.xmlopeninstr { + font-style: normal; + color: #000000 +} + +.xmlcloseinstr { + font-style: normal; + color: #000000 +} + +.xmlinstrname { + font-style: normal; + color: #9965a6 +} + +.xmllowtag { + font-style: normal; + color: #000000 +} + +.xmltagname { + font-style: normal; + color: #0303ff +} + +.xmllowclose { + font-style: normal; + color: #000000 +} + +.xmlopencomment { + font-style: italic; + color: #01a801 +} + +.xmlcommentend { + font-style: italic; + color: #01a801 +} + +.xmlcomment { + font-style: italic; + color: #01a801 +} + +.xmlopencdata { + font-style: normal; + color: #c45555 +} + +.xmlcdataend { + font-style: normal; + color: #c45555 +} + +.xmlcdata { + font-style: normal; + color: #000000 +} + +.xmlattributename { + font-style: normal; + color: #9965a6 +} + +.xmlequal { + font-style: normal; + color: #000000 +} + +.xmlattributevalue { + font-style: normal; + color: #973964 +} + +.xmlautoclose { + font-style: normal; + color: #000000 +} diff --git a/help/fr_FR/build_help.sce b/help/fr_FR/build_help.sce new file mode 100644 index 0000000..7065316 --- /dev/null +++ b/help/fr_FR/build_help.sce @@ -0,0 +1,3 @@ +// This file is released under the 3-clause BSD license. See COPYING-BSD. + +tbx_build_help(TOOLBOX_TITLE,get_absolute_file_path("build_help.sce")); diff --git a/help/fr_FR/c_multiplybypi.xml b/help/fr_FR/c_multiplybypi.xml new file mode 100644 index 0000000..b23737d --- /dev/null +++ b/help/fr_FR/c_multiplybypi.xml @@ -0,0 +1,56 @@ + + + + + c_multiplybypi + Multiple par %pi un nombre + + + Séquence d'appel + a = multiplybypi(b) + + + Arguments + + + b + + Premier argument d'entrée + + + + a + + Argument de sortie + + + + + + Description + Fait une multiplication particulière. + Ajoutez ici plus d'informations sur cette fonction + + LaTeX peut etre utilisé pour afficher l'équation: Dans ce cas, le rendu pourrait être $x*\pi$ + + + + Exemples + c_multiplybypi(3) + + + Voir aussi + + + c_sum + + + Lien vers la page d'aide sum de Scilab + + + + diff --git a/help/fr_FR/c_sub.xml b/help/fr_FR/c_sub.xml new file mode 100644 index 0000000..5b121e7 --- /dev/null +++ b/help/fr_FR/c_sub.xml @@ -0,0 +1,86 @@ + + + + + c_sub + calcule de la soustraction depuis du code C + + + Séquence d'appel + a = c_sub(b,c) + + + Arguments + + + b + + Premier argument d'entrée + + + + c + + Second argument d'entrée + + + + a + + Argument de sortie + + + + + + Description + calcule la soustraction. + Ajoutez ici plus d'informations sur cette fonction + + LaTeX peut etre utilisé pour afficher l'équation: Dans ce cas, le rendu pourrait être $x-y$ + + Il est possible d'inclure une image en utilisant du code Scilab (il faut déclarer au préalable le namespace xmlns:scilab="http://www.scilab.org"): + + + plot3d(); + + ]]> + + + plot3d(); + + Si une image contient une chaîne de caractères localisées, il faut alors ajouter l'attribut scilab:localized="true": + + + plot2d(); + xtitle("Mes jolis plots 2D"); + + ]]> + + + plot2d(); + xtitle("Mes jolis plots 2D"); + + + + Exemples + c_sub(3,4) + + + Voir aussi + + + c_sum + + + Lien vers la page d'aide sum de Scilab + + + + diff --git a/help/fr_FR/c_sum.xml b/help/fr_FR/c_sum.xml new file mode 100644 index 0000000..db218c8 --- /dev/null +++ b/help/fr_FR/c_sum.xml @@ -0,0 +1,62 @@ + + + + + c_sum + calcule de la somme depuis du code C + + + Séquence d'appel + a = c_sum(b,c) + + + Arguments + + + b + + Premier argument d'entréee + + + + c + + Second argument d'entréee + + + + a + + Argument de sortie + + + + + + Description + calcule la somme. + Ajoutez ici plus d'informations sur cette fonction + + LaTeX peut etre utilisé pour afficher l'équation: Dans ce cas, le rendu pourrait être $x+y$ + + + + Exemples + c_sum(3,4) + + + Voir aussi + + + fortran_sum + + + Lien vers la page d'aide sum de Scilab + + + + diff --git a/help/fr_FR/fortran_sum.xml b/help/fr_FR/fortran_sum.xml new file mode 100644 index 0000000..59c888a --- /dev/null +++ b/help/fr_FR/fortran_sum.xml @@ -0,0 +1,62 @@ + + + + + fortran_sum + calcule de la somme depuis du code fortran + + + Séquence d'appel + a = c_sum(b,c) + + + Arguments + + + b + + Premier argument d'entrée + + + + c + + Second argument d'entrée + + + + a + + Argument de sortie + + + + + + Description + calcule la somme. + Ajoutez ici plus d'informations sur cette fonction + + LaTeX peut etre utilisé pour afficher l'équation: Dans ce cas, le rendu pourrait être $x+y$ + + + + Exemples + fortran_sum(3,4) + + + Voir aussi + + + c_sum + + + Lien vers la page d'aide sum de Scilab + + + + diff --git a/help/fr_FR/scilab_sum.xml b/help/fr_FR/scilab_sum.xml new file mode 100644 index 0000000..5b14618 --- /dev/null +++ b/help/fr_FR/scilab_sum.xml @@ -0,0 +1,63 @@ + + + + + scilab_sum + calcule de la somme depuis du code scilab + + + Séquence d'appel + a = scilab_sum(b,c) + + + Arguments + + + b + + Premier argument d'entrée + + + + c + + Second argument d'entrée + + + + a + + Argument de sortie + + + + + + Description + calcule la somme. + Ajoutez ici plus d'informations sur cette fonction + + LaTeX peut etre utilisé pour afficher l'équation: Dans ce cas, le rendu pourrait être $x+y$ + + + + Exemples + scilab_sum(3,4) + + + Voir aussi + + + c_sum + + + Lien vers la page d'aide sum de Scilab + + + + diff --git a/jar/org.scilab.contrib.toolboxskeleton.jar b/jar/org.scilab.contrib.toolboxskeleton.jar new file mode 100644 index 0000000..3f29663 Binary files /dev/null and b/jar/org.scilab.contrib.toolboxskeleton.jar differ diff --git a/jar/scilab_en_US_help.jar b/jar/scilab_en_US_help.jar new file mode 100644 index 0000000..26f6d92 Binary files /dev/null and b/jar/scilab_en_US_help.jar differ diff --git a/license.txt b/license.txt new file mode 100644 index 0000000..f270758 --- /dev/null +++ b/license.txt @@ -0,0 +1,9 @@ +License of the FOSSEE_Communication_Toolbox + +Note that all the files of this toolbox are released into the public domain. +Therefore, there is no limitation on the use of these files. + +Please note that Scilab is released under the terms of the GNU GPL v2.0 +For more information, see the COPYING file which you should have received +along with this program. + diff --git a/loader.sce b/loader.sce new file mode 100644 index 0000000..c0f673a --- /dev/null +++ b/loader.sce @@ -0,0 +1,20 @@ +// This file is released under the 3-clause BSD license. See COPYING-BSD. +// Generated by builder.sce: Please, do not edit this file + +oldmode = mode(); mode(-1); +oldlines = lines()(2); lines(0); +try + exec(get_absolute_file_path("loader.sce")+"etc/"+"FOSSEE_Communication_Systems_Toolbox.start"); +catch + [errmsg, tmp, nline, func] = lasterror() + msg = "%s: error on line #%d: ""%s""\n" + msg = msprintf(msg, func, nline, errmsg) + lines(oldlines) + mode(oldmode); + clear oldlines oldmode tmp nline func + error(msg); +end +lines(oldlines); +mode(oldmode); +clear oldlines oldmode; + diff --git a/locales/en_US.po b/locales/en_US.po new file mode 100644 index 0000000..7ba878b --- /dev/null +++ b/locales/en_US.po @@ -0,0 +1,35 @@ +msgid "" +msgstr "" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: sci_gateway\c\sci_cerror.c:17 +msgid "%s: I'm waiting only one argument.\n" +msgstr "" + +#: sci_gateway\c\sci_cerror.c:22 +#: macros\scilab_error.sci:17 +msgid "%s: Yeah! %d is a good number of arguments but I prefer fail, sorry.\n" +msgstr "" + +#: macros\scilab_error.sci:13 +msgid "%s: I''m waiting for only one argument.\n" +msgstr "" + +msgid "Rectangle" +msgstr "" + +msgid "My Title" +msgstr "" + +msgid "Height" +msgstr "" + +msgid "Width" +msgstr "" + +msgid "Color" +msgstr "" + +msgid "Outline" +msgstr "" diff --git a/locales/en_US/LC_MESSAGES/FOSSEE_Communication_Systems_Toolbox.mo b/locales/en_US/LC_MESSAGES/FOSSEE_Communication_Systems_Toolbox.mo new file mode 100644 index 0000000..109adc9 Binary files /dev/null and b/locales/en_US/LC_MESSAGES/FOSSEE_Communication_Systems_Toolbox.mo differ diff --git a/locales/en_US/LC_MESSAGES/FOSSEE_Communication_Systems_Toolbox.po b/locales/en_US/LC_MESSAGES/FOSSEE_Communication_Systems_Toolbox.po new file mode 100644 index 0000000..7ba878b --- /dev/null +++ b/locales/en_US/LC_MESSAGES/FOSSEE_Communication_Systems_Toolbox.po @@ -0,0 +1,35 @@ +msgid "" +msgstr "" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: sci_gateway\c\sci_cerror.c:17 +msgid "%s: I'm waiting only one argument.\n" +msgstr "" + +#: sci_gateway\c\sci_cerror.c:22 +#: macros\scilab_error.sci:17 +msgid "%s: Yeah! %d is a good number of arguments but I prefer fail, sorry.\n" +msgstr "" + +#: macros\scilab_error.sci:13 +msgid "%s: I''m waiting for only one argument.\n" +msgstr "" + +msgid "Rectangle" +msgstr "" + +msgid "My Title" +msgstr "" + +msgid "Height" +msgstr "" + +msgid "Width" +msgstr "" + +msgid "Color" +msgstr "" + +msgid "Outline" +msgstr "" diff --git a/locales/en_US/LC_MESSAGES/scilab_toolbox.mo b/locales/en_US/LC_MESSAGES/scilab_toolbox.mo new file mode 100644 index 0000000..109adc9 Binary files /dev/null and b/locales/en_US/LC_MESSAGES/scilab_toolbox.mo differ diff --git a/locales/en_US/LC_MESSAGES/scilab_toolbox.po b/locales/en_US/LC_MESSAGES/scilab_toolbox.po new file mode 100644 index 0000000..7ba878b --- /dev/null +++ b/locales/en_US/LC_MESSAGES/scilab_toolbox.po @@ -0,0 +1,35 @@ +msgid "" +msgstr "" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: sci_gateway\c\sci_cerror.c:17 +msgid "%s: I'm waiting only one argument.\n" +msgstr "" + +#: sci_gateway\c\sci_cerror.c:22 +#: macros\scilab_error.sci:17 +msgid "%s: Yeah! %d is a good number of arguments but I prefer fail, sorry.\n" +msgstr "" + +#: macros\scilab_error.sci:13 +msgid "%s: I''m waiting for only one argument.\n" +msgstr "" + +msgid "Rectangle" +msgstr "" + +msgid "My Title" +msgstr "" + +msgid "Height" +msgstr "" + +msgid "Width" +msgstr "" + +msgid "Color" +msgstr "" + +msgid "Outline" +msgstr "" diff --git a/locales/en_US/LC_MESSAGES/toolbox_skeleton.po b/locales/en_US/LC_MESSAGES/toolbox_skeleton.po new file mode 100644 index 0000000..7ba878b --- /dev/null +++ b/locales/en_US/LC_MESSAGES/toolbox_skeleton.po @@ -0,0 +1,35 @@ +msgid "" +msgstr "" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: sci_gateway\c\sci_cerror.c:17 +msgid "%s: I'm waiting only one argument.\n" +msgstr "" + +#: sci_gateway\c\sci_cerror.c:22 +#: macros\scilab_error.sci:17 +msgid "%s: Yeah! %d is a good number of arguments but I prefer fail, sorry.\n" +msgstr "" + +#: macros\scilab_error.sci:13 +msgid "%s: I''m waiting for only one argument.\n" +msgstr "" + +msgid "Rectangle" +msgstr "" + +msgid "My Title" +msgstr "" + +msgid "Height" +msgstr "" + +msgid "Width" +msgstr "" + +msgid "Color" +msgstr "" + +msgid "Outline" +msgstr "" diff --git a/locales/fr_FR.po b/locales/fr_FR.po new file mode 100644 index 0000000..e585710 --- /dev/null +++ b/locales/fr_FR.po @@ -0,0 +1,32 @@ +msgid "" +msgstr "" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: sci_gateway\c\sci_cerror.c:17 +#: macros\scilab_error.sci:13 +msgid "%s: I'm waiting for only one argument.\n" +msgstr "%s : Je n'attends qu'un seul argument.\n" + +#: sci_gateway\c\sci_cerror.c:22 +#: macros\scilab_error.sci:17 +msgid "%s: Yeah! %d is a good number of arguments but I prefer fail, sorry.\n" +msgstr "%s : Oui ! %d est un bon nombre d'arguments mais je préfère échouer, désolé.\n" + +msgid "Rectangle" +msgstr "Rectangle" + +msgid "My Title" +msgstr "Mon Titre" + +msgid "Height" +msgstr "Hauteur" + +msgid "Width" +msgstr "Largeur" + +msgid "Color" +msgstr "Couleur" + +msgid "Outline" +msgstr "Contour" diff --git a/locales/fr_FR/LC_MESSAGES/FOSSEE_Communication_Systems_Toolbox.mo b/locales/fr_FR/LC_MESSAGES/FOSSEE_Communication_Systems_Toolbox.mo new file mode 100644 index 0000000..c6a6dc5 Binary files /dev/null and b/locales/fr_FR/LC_MESSAGES/FOSSEE_Communication_Systems_Toolbox.mo differ diff --git a/locales/fr_FR/LC_MESSAGES/FOSSEE_Communication_Systems_Toolbox.po b/locales/fr_FR/LC_MESSAGES/FOSSEE_Communication_Systems_Toolbox.po new file mode 100644 index 0000000..e585710 --- /dev/null +++ b/locales/fr_FR/LC_MESSAGES/FOSSEE_Communication_Systems_Toolbox.po @@ -0,0 +1,32 @@ +msgid "" +msgstr "" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: sci_gateway\c\sci_cerror.c:17 +#: macros\scilab_error.sci:13 +msgid "%s: I'm waiting for only one argument.\n" +msgstr "%s : Je n'attends qu'un seul argument.\n" + +#: sci_gateway\c\sci_cerror.c:22 +#: macros\scilab_error.sci:17 +msgid "%s: Yeah! %d is a good number of arguments but I prefer fail, sorry.\n" +msgstr "%s : Oui ! %d est un bon nombre d'arguments mais je préfère échouer, désolé.\n" + +msgid "Rectangle" +msgstr "Rectangle" + +msgid "My Title" +msgstr "Mon Titre" + +msgid "Height" +msgstr "Hauteur" + +msgid "Width" +msgstr "Largeur" + +msgid "Color" +msgstr "Couleur" + +msgid "Outline" +msgstr "Contour" diff --git a/locales/fr_FR/LC_MESSAGES/scilab_toolbox.mo b/locales/fr_FR/LC_MESSAGES/scilab_toolbox.mo new file mode 100644 index 0000000..c6a6dc5 Binary files /dev/null and b/locales/fr_FR/LC_MESSAGES/scilab_toolbox.mo differ diff --git a/locales/fr_FR/LC_MESSAGES/scilab_toolbox.po b/locales/fr_FR/LC_MESSAGES/scilab_toolbox.po new file mode 100644 index 0000000..e585710 --- /dev/null +++ b/locales/fr_FR/LC_MESSAGES/scilab_toolbox.po @@ -0,0 +1,32 @@ +msgid "" +msgstr "" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: sci_gateway\c\sci_cerror.c:17 +#: macros\scilab_error.sci:13 +msgid "%s: I'm waiting for only one argument.\n" +msgstr "%s : Je n'attends qu'un seul argument.\n" + +#: sci_gateway\c\sci_cerror.c:22 +#: macros\scilab_error.sci:17 +msgid "%s: Yeah! %d is a good number of arguments but I prefer fail, sorry.\n" +msgstr "%s : Oui ! %d est un bon nombre d'arguments mais je préfère échouer, désolé.\n" + +msgid "Rectangle" +msgstr "Rectangle" + +msgid "My Title" +msgstr "Mon Titre" + +msgid "Height" +msgstr "Hauteur" + +msgid "Width" +msgstr "Largeur" + +msgid "Color" +msgstr "Couleur" + +msgid "Outline" +msgstr "Contour" diff --git a/locales/fr_FR/LC_MESSAGES/toolbox_skeleton.po b/locales/fr_FR/LC_MESSAGES/toolbox_skeleton.po new file mode 100644 index 0000000..e585710 --- /dev/null +++ b/locales/fr_FR/LC_MESSAGES/toolbox_skeleton.po @@ -0,0 +1,32 @@ +msgid "" +msgstr "" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: sci_gateway\c\sci_cerror.c:17 +#: macros\scilab_error.sci:13 +msgid "%s: I'm waiting for only one argument.\n" +msgstr "%s : Je n'attends qu'un seul argument.\n" + +#: sci_gateway\c\sci_cerror.c:22 +#: macros\scilab_error.sci:17 +msgid "%s: Yeah! %d is a good number of arguments but I prefer fail, sorry.\n" +msgstr "%s : Oui ! %d est un bon nombre d'arguments mais je préfère échouer, désolé.\n" + +msgid "Rectangle" +msgstr "Rectangle" + +msgid "My Title" +msgstr "Mon Titre" + +msgid "Height" +msgstr "Hauteur" + +msgid "Width" +msgstr "Largeur" + +msgid "Color" +msgstr "Couleur" + +msgid "Outline" +msgstr "Contour" diff --git a/macros/alignsignals.bin b/macros/alignsignals.bin new file mode 100644 index 0000000..48bdb7d Binary files /dev/null and b/macros/alignsignals.bin differ diff --git a/macros/alignsignals.sci b/macros/alignsignals.sci index 2013e3b..97bf596 100644 --- a/macros/alignsignals.sci +++ b/macros/alignsignals.sci @@ -1,7 +1,7 @@ function varargout = alignsignals(x,y,varargin) //This function aligns the two input signals. // -//Calling Sequence +//Syntax //[Xa Ya] = ALIGNSIGNALS(X,Y) //[Xa Ya] = ALIGNSIGNALS(X,Y,MAXLAG) //[Xa Ya] = ALIGNSIGNALS(X,Y,MAXLAG,1) diff --git a/macros/arithdeco.bin b/macros/arithdeco.bin new file mode 100644 index 0000000..505f75b Binary files /dev/null and b/macros/arithdeco.bin differ diff --git a/macros/arithenco.bin b/macros/arithenco.bin new file mode 100644 index 0000000..429c26d Binary files /dev/null and b/macros/arithenco.bin differ diff --git a/macros/arithenco.sci b/macros/arithenco.sci index a463afa..b596924 100644 --- a/macros/arithenco.sci +++ b/macros/arithenco.sci @@ -1,7 +1,7 @@ function [code] = arithenco(seq, count) // This function encodes the given sequence using aritmetic coding -// Calling sequence +// Syntax // CODE = ARITHENCO(SEQ, COUNT) // Description diff --git a/macros/build_help.sce b/macros/build_help.sce deleted file mode 100644 index 7e477d7..0000000 --- a/macros/build_help.sce +++ /dev/null @@ -1,5 +0,0 @@ -help_lang_dir = get_absolute_file_path("build_help.sce"); -TOOLBOX_TITLE="Communications Toolbox" -tbx_build_help(TOOLBOX_TITLE, help_lang_dir); -ok=add_help_chapter("Demo",get_absolute_file_path("build_help.sce")); -clear help_lang_dir; diff --git a/macros/buildmacros.sce b/macros/buildmacros.sce new file mode 100644 index 0000000..5a872bb --- /dev/null +++ b/macros/buildmacros.sce @@ -0,0 +1,10 @@ +// This file is released under the 3-clause BSD license. See COPYING-BSD. + +function buildmacros() + macros_path = get_absolute_file_path("buildmacros.sce"); + tbx_build_macros(TOOLBOX_NAME, macros_path); +endfunction + +buildmacros(); +clear buildmacros; // remove buildmacros on stack + diff --git a/macros/finddelay.bin b/macros/finddelay.bin new file mode 100644 index 0000000..8a977dc Binary files /dev/null and b/macros/finddelay.bin differ diff --git a/macros/gfcosets.bin b/macros/gfcosets.bin new file mode 100644 index 0000000..987d207 Binary files /dev/null and b/macros/gfcosets.bin differ diff --git a/macros/gflineq.bin b/macros/gflineq.bin new file mode 100644 index 0000000..957bee2 Binary files /dev/null and b/macros/gflineq.bin differ diff --git a/macros/gfrepcov.bin b/macros/gfrepcov.bin new file mode 100644 index 0000000..7ea415c Binary files /dev/null and b/macros/gfrepcov.bin differ diff --git a/macros/gftrunc.bin b/macros/gftrunc.bin new file mode 100644 index 0000000..fbb0c07 Binary files /dev/null and b/macros/gftrunc.bin differ diff --git a/macros/iqcoef2imbal.bin b/macros/iqcoef2imbal.bin new file mode 100644 index 0000000..54d08ae Binary files /dev/null and b/macros/iqcoef2imbal.bin differ diff --git a/macros/iqimbal2coef.bin b/macros/iqimbal2coef.bin new file mode 100644 index 0000000..0bf83da Binary files /dev/null and b/macros/iqimbal2coef.bin differ diff --git a/macros/iqimbal2coef.sci b/macros/iqimbal2coef.sci index 2116ca8..0849478 100644 --- a/macros/iqimbal2coef.sci +++ b/macros/iqimbal2coef.sci @@ -40,7 +40,7 @@ if ( or(Comp_Coef==%nan) | or(Comp_Coef==%inf)) error('comm:iqimbal2coef: Input arguments should be finte') end -if ( size(Amp_Imb_dB) ~= size(Ph_Imb_Deg) ) then\ +if ( size(Amp_Imb_dB) ~= size(Ph_Imb_Deg) ) then error('comm:iqimbal2coef: Input arguments should be of same size') end @@ -66,3 +66,4 @@ for i = 1:length(Amp_Imb_dB) Comp_Coef(i) = w2/w1; end +endfunction diff --git a/macros/iscatastrophic.bin b/macros/iscatastrophic.bin new file mode 100644 index 0000000..99f7cb0 Binary files /dev/null and b/macros/iscatastrophic.bin differ diff --git a/macros/istrellis.bin b/macros/istrellis.bin new file mode 100644 index 0000000..273fa72 Binary files /dev/null and b/macros/istrellis.bin differ diff --git a/macros/lib b/macros/lib new file mode 100644 index 0000000..00d40f5 --- /dev/null +++ b/macros/lib @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + diff --git a/macros/lteZadoffChuSeq.bin b/macros/lteZadoffChuSeq.bin new file mode 100644 index 0000000..02d0fb4 Binary files /dev/null and b/macros/lteZadoffChuSeq.bin differ diff --git a/macros/ssbdemod.bin b/macros/ssbdemod.bin new file mode 100644 index 0000000..84336e2 Binary files /dev/null and b/macros/ssbdemod.bin differ diff --git a/unloader.sce b/unloader.sce new file mode 100644 index 0000000..70ce9f0 --- /dev/null +++ b/unloader.sce @@ -0,0 +1,23 @@ +// This file is released under the 3-clause BSD license. See COPYING-BSD. +// Generated by builder.sce: Please, do not edit this file + +oldmode = mode(); mode(-1); +oldlines = lines()(2); lines(0); +try + fileQuit = get_absolute_file_path("unloader.sce") + "etc/" + "FOSSEE_Communication_Systems_Toolbox.quit"; + if isfile(fileQuit) then + exec(fileQuit); + end +catch + [errmsg, tmp, nline, func] = lasterror() + msg = "%s: error on line #%d: ""%s""\n" + msg = msprintf(msg, func, nline, errmsg) + lines(oldlines) + mode(oldmode); + clear oldlines oldmode tmp nline func + error(msg); +end +lines(oldlines); +mode(oldmode); +clear oldlines oldmode; + -- cgit