Comments (2)
The sample file is there to allow the user to see how a colour scheme looks. It is intended to show all syntax highlighting options in a single succinct file. This line is intentionally not terminated in order to demonstrate what an unterminated string looks like, hence why the text for the sting is the word "unterminated". So it's not a bug, it is a feature. This is not a file that you need to run in order to use any of the functionality of the package, and so you should not be attempting to compile it.
But why are trying to compile the code with mcc in the first place? Is this something MATLAB is doing automatically on your behalf, or is there some motivation for you to manually compile the package?
from matlab-schemer.
I can actually support @sandeepganji's use case here: At my work, and in my contracting gigs, I often "compile" Matlab code to deployable programs or libraries using the Matlab Compiler (mcc), so they can be run by users that don't have Matlab licenses, run in the Matlab Production Server or Matlab Parallel Server, included in custom applications in C# or other languages, distributed in an obfuscated, no-Matlab-license-required manner, and so on.
For larger Matlab applications, using depfun
and Matlab Compiler's automatic dependency resolution to pick up the source files to go in to the mcc
program is not adequate: it misses any dynamic dependencies used by eval
, feval
, or other dynamic dispatch mechanisms, and it doesn't pick up resource files. The easiest way to deal with this is to must use the -a
option to sweep up your entire codebase, including any third-party libraries you're using, which is probably where Sandeep's pulling in Matlab Schemer. Multiple Matlab Compiler libraries cannot be composed together, so you need to compile the whole shebang, including all your dependencies, at once.
Regardless of how you do it, any syntax error in any .m
file that's included in an mcc
build will break the entire build, regardless of whether that file actually gets called anywhere.
The straightforward fix to this is to not have the develop/
directory on your Matlab path
when you're running mcc
. Is that feasible, @sandeepganji ?
from matlab-schemer.
Related Issues (20)
- Support VRML/X3DV syntax HOT 3
- Intallation HOT 4
- Using Octave, not working. HOT 1
- can't view your png files on GitHub HOT 2
- Matlab r2017a Programming Tools Preferences HOT 3
- R2016a and later: "Validation sections" syntax highlighting ? HOT 1
- Live Script is not affected by theme changes HOT 1
- App designer didn't change its background color
- Taskbar and window color are unchanged HOT 2
- Easily set included schemes without file browser HOT 4
- App Designer Editor Incompatibility
- Not working with live script (.mlx) HOT 1
- Supported Matlab versions?
- Scheme does not alter "Views" tab on Project Manager HOT 1
- Debug highlighting is hard to read using Cobalt
- Minor: CUDA colors are not saved by schemer_export
- It doesn't work well on Apple Silicon native beta version HOT 3
- How to make new scheme persistent? HOT 4
- Compatible with New Desktop for MATLAB (Beta) Add-On? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from matlab-schemer.