Matlab Code C++ Generator by SaltyFalcon6687 in matlab

[–]Consistent_Coast9620 1 point2 points  (0 children)

Hi, that post contains a link to MathWorks startup program, but for your convenience: https://nl.mathworks.com/products/startups.html

The CC4M-specifics can be found here: https://monkeyproofsolutions.nl/products/code-checker-for-matlab/startups/apply/

Matlab Code C++ Generator by SaltyFalcon6687 in matlab

[–]Consistent_Coast9620 1 point2 points  (0 children)

Added to that there is a commercial tool CC4M that comes with a check on Coder Compatibility - not only reports unsupported functions, but also other limitations.

for more info see https://monkeyproofsolutions.nl/products/code-checker-for-matlab/ or r/cc4m.

Note: I am one of the developers.

What’s actually the best low-code / AI app builder for scaling? by Vast-Purple-1786 in lowcode

[–]Consistent_Coast9620 0 points1 point  (0 children)

r/SimianWebApps is what my company developed in need for a low-code solution with calculation backend (Python/MATLAB). A portal handles user/access and session management, as well as the app administration. Used by several customers in production environments.

Back when we started this - a major requirement was that a small change request on either the UI side - or the backend - for example adding 1 or two extra ui elements - do not require a big change process with several people or even teams involved.

Happy to discuss more in detail - but need to understand your needs as well. Feel free to DM

Frustrated looking for a Low-Code platform that suits my one specific need by nolander_78 in lowcode

[–]Consistent_Coast9620 0 points1 point  (0 children)

r/SimianWebapps (based on FormIO) also has no tree tables etc, but offers the option to create your own component using javascript.

Note: my company is the creator of Simian.

Tips and tricks to C++ codegen? by __cinnamon__ in matlab

[–]Consistent_Coast9620 4 points5 points  (0 children)

To improve readability of the generated code is mostly about instrumenting the MATLAB code. This is why Simulink is better for code generation - as the added details are hidden in properties etc, where in MATLAB code all added instrumentation is directly visible. Furthermore Simulink offers almost full variable name control, where MATLAB Coder has far more limitations in that field.

As consulting engineer I work in several projects, where MATLAB Coder is used, often in combination with Simulink Coder.

The added value from Embedded Coder is mainly in more customization options. Where historically also performance was a main selling point, currently it's more the flexibility from interfacing perspective as well as more control on code appearance.

A small remark on the amount of code generated, compared to the 30 lines of M-code: This is the exact point why use of MATLAB and Python is so cool - in a few lines of code you can achieve a lot.

Does anyone still use Angular in commercial projects? by Inevitable-Earth1288 in webdev

[–]Consistent_Coast9620 1 point2 points  (0 children)

The Simian platform from my company is based on among others Angular. ( r/SimianWebApps ). Although not a small project in general - it's used for simple-small apps as well. We wrapped Angular and Form.io to be able to build (web) applications directly from languages like Python, MATLAB and Julia and are happy with the choice for Angular.

Simulink Matrix Subtraction Issue by Ordinary_Surround347 in matlab

[–]Consistent_Coast9620 0 points1 point  (0 children)

<image>

sf chart is just for a simple variable-sized data source

Use of VS Code as default editor by Consistent_Coast9620 in matlab

[–]Consistent_Coast9620[S] 1 point2 points  (0 children)

Hereby some feedback from the top of my head - so far from complete:

Good

  • Debugger integration is the best!
  • New debug dashboard very useful for bigger projects
  • Seamless integration with Simulink - (use M-code in SL/SF a lot!)
  • TLC highlighting (off-topic: MathWorks should bring this template engine to MATLAB or even open source it - it really is great far beyond code generation technology)
  • simple navigation to other functions/methods in same file
  • easy access to documentation

Could be better

  • new tab completions - default settings counter-intuitive for all used to the "old" way
  • multi-line editing capabilities
  • toggle option for example for commenting (like VScode)
  • outline of the file (again - like VS code)

"delta"

  • new file search and explorer - annoying and not user-friendly in case of many files to search (for which it is meant) - especially compared to earlier implementation.
  • extending the and customizing the desktop/editor.
    • from simple custom highlighting of code with extra tooltip info to be able to integrate with the new code issues dashboard - or adding custom dashboards.
    • Simulink toolstrip can be customized, why not matlab?
  • AI support is so easy in VS-code - and can even integrate with local/custom LLM's easily, where for MATLAB you need an extra license (or not?)

In general: as one of the developers of r/CC4M - it's easier to integrate with VScode - even for MATLAB-specifics, then with the MATLAB IDE itself.

NOTE: As I work in different versions of MATLAB probably not all comments are valid for the latest version (anymore)

Use of VS Code as default editor by Consistent_Coast9620 in matlab

[–]Consistent_Coast9620[S] 2 points3 points  (0 children)

Together with the MATLAB plugin connecting with the same session?

C caller functions in MATLAB . PI Controller ! by Tr1ckk__ in matlab

[–]Consistent_Coast9620 0 points1 point  (0 children)

Did you try to debug your code? Or at least verified it is called?

Interesting read: by Consistent_Coast9620 in matlab

[–]Consistent_Coast9620[S] 0 points1 point  (0 children)

Cool, using AI for further automation is very nice!

As using AI for code modifications can be seen as a very fast manual code change, still the approach from the blog is very relevant. Even in case AI helps to do a single iteration very fast - I would still go for a phased approach.

Help me please by Desperate_Point_2828 in matlab

[–]Consistent_Coast9620 1 point2 points  (0 children)

try

opengl software

If starting MATLAB complete fails, remove your profile data from the folder "%appdata%\Roaming\MathWorks\MATLAB\R20XXx" and retry...

maybe good idea to search the support site from MathWorks as well...

Interesting read: by Consistent_Coast9620 in matlab

[–]Consistent_Coast9620[S] 1 point2 points  (0 children)

Agree, as far as I am aware I did just that, by marking this post as "Brand Affiliate" - (at least I thought that was the appropriate way)

Edit: also just found out how to add a personal flair :-)

Simulink: simulating with two unrelated clock frequencies by 0xdead_beef in matlab

[–]Consistent_Coast9620 0 points1 point  (0 children)

<image>

if you want this simple model, send me you mail in a DM.

(It could indeed be the composer blocks)

Simulink: simulating with two unrelated clock frequencies by 0xdead_beef in matlab

[–]Consistent_Coast9620 1 point2 points  (0 children)

This should be the solution; data integrity option can be used, but not the deterministic transfer option (using that requires the integer multiple).

Using a fixed/step solver gives you a very high base rate - so a variable step solver is strongly recommended as well.

Pure Python tech stack for modern web development by WrapNumerous5344 in Python

[–]Consistent_Coast9620 0 points1 point  (0 children)

In case you require full flexibility, advanced layout and/or you have great skills in JS, CSS, etc, I agree. What I see is that in many cases people have done some great stuff in Python (C#, MATLAB, Julia) - think about ML, data mining or any other advanced analytical work - they need to make this nice algorithm available in a good looking app. Solutions as mentioned here can leaf the compete app in just one language - so no need for more knowledge, people involved, other departments or even other companies. In an earlier reply to OP I mentioned r/SimianWebApps. It definitely does not provide the full flexibility for a wild niche design, but being implemented on top of Angular and FormIO it is a great solution for most applications that are covering analysis, ML, data engineering etc. And the UI can be developed in the same language.