Skip to content
GitLab
    • GitLab: the DevOps platform
    • Explore GitLab
    • Install GitLab
    • How GitLab compares
    • Get started
    • GitLab docs
    • GitLab Learn
  • Pricing
  • Talk to an expert
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
    Projects Groups Topics Snippets
  • Register
  • Sign in
  • scilab scilab
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 2.6k
    • Issues 2.6k
    • List
    • Boards
    • Service Desk
    • Milestones
    • Requirements
  • Merge requests 56
    • Merge requests 56
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Terraform modules
    • Model experiments
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • scilabscilab
  • scilabscilab
  • Issues
  • #15568
Closed
Open
Issue created May 10, 2018 by scilab bot@scilabbot💬Owner

savematfile() does not support boolean/logical variables with version>4

Reported by Samuel GOUGEON (@sgougeon)

BUG DESCRIPTION:
----------------
Saving a boolean variable or matrix or hypermatrix with savematfile() yields an error:


ERROR LOG:
----------
-->savematfile("booleans.mat","-v7.3","ba","bv","bm")
Do not known how to get variable of type 4
 !--error 10000 
savematfile: could not save variable named ba.
at line     330 of function savematfile called by :  
savematfile("booleans.mat","-v7.3","ba","bv","bm")


HOW TO REPRODUCE THE BUG:
-------------------------
ba = %t;
bv = rand(1,5)<0.5;
bm = rand(2,3)<0.5;
savematfile("booleans.mat","-v7.3","ba","bv","bm")


OTHER INFORMATION:
------------------
Same thing with Scilab 6.0.1.
Same restriction with loadmatfile(), reported as bug 15567
Assignee
Assign to
Time tracking