Comments (5)
Should also be looked at for 1.4.
Matlab's warning reference page: https://au.mathworks.com/help/matlab/ref/warning.html
Is there an option for displaying a warning once per session, or once per function call? Would we have to implement a check ourselves whenever we are calling functions multiple times?
from ott.
I don't think it matters as it will display the warning every time matlab is opened. It can be an instruction that the warnings will silence after one time per matlab session (if we don't have enough control)
from ott.
Rather than writing conditions around the individual warnings, we could overload the warning function (and in 1.4 use a function called ott.warning) which checks if a warning has already been displayed.
from ott.
Pursuant to previous, octave is very obtuse in the way it treats warnings and doesn't display which file produces the warning. I suggest that the file name is introduced into warnings somewhere. E.g. replacing "This file..." with "xxx.m..."
from ott.
I've just pushed dff474d which should make warnings less intrusive. Not sure if it is the cleanest solution. Any better suggestions or should we go with this for now?
from ott.
Related Issues (20)
- Multiple beams in BSC class HOT 1
- Unit tests for all components HOT 1
- Optimise examples HOT 1
- Get rid of the shapesurface function HOT 3
- BscPmParaxial.m HOT 7
- Multiple translation matrices not returned by Bsc.translateZ
- BscPlane translations as phase shifts HOT 1
- GUI commands HOT 3
- Filling factor HOT 5
- Smarties method does not work HOT 1
- Absorption calculations?
- Migrate apps to use ComponentContainer
- Setting the T-matrix of particle with other shape in GUI HOT 3
- The range of particle sizes to which the program applies HOT 6
- Material database
- The refractive index of a medium varies with the laser of different wavelength HOT 2
- About "Warning: Ignoring fz<0 entries at start of vector " may be a bug
- Extinction coefficient
- emFieldXyz: E-field units
- transform from center-of-mass frame to lab frame
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 ott.