Convert matlab file to .b

How to convert .m file to .b file?

3 Comments

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?
.b file- A BASIC source code file is implemented into the development of applications with the use of the BASIC programming language.
I want to code in matlab and convert the file into .b file but I could not find any .b extension while saving.
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.

Sign in to comment.

Answers (1)

Abhishek Chakram
Abhishek Chakram on 16 Nov 2023
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

Asked:

on 16 Apr 2022

Answered:

on 16 Nov 2023

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!