Convert matlab file to .b
Show older comments
How to convert .m file to .b file?
3 Comments
DGM
on 16 Apr 2022
There are a number of file formats that might end in a .b extension. I don't see how it would make sense to convert a .m file to any of them. What format are you talking about, and what do you expect of such a conversion?
Asif Istiak
on 16 Apr 2022
DGM
on 16 Apr 2022
That's because mcode is not BASIC code. If you want to write something in BASIC, you write it in BASIC - whichever particular sort of BASIC you're targeting. Implementing something in another language is not as trivial as just selecting the file format when you save it.
Answers (1)
Abhishek Chakram
on 16 Nov 2023
0 votes
Hi Asif,
I understand that you to convert MATLAB code to a BASIC source code file. For this, you will need to manually rewrite the code in BASIC syntax. BASIC is a different programming language with its own syntax and structure, so a direct automated conversion may not be possible.
Best Regards,
Abhishek Chakram
Categories
Find more on MATLAB Compiler in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!