Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FontResizer Matlab 2014b #4

Closed
lmanubens opened this issue Nov 27, 2018 · 5 comments
Closed

FontResizer Matlab 2014b #4

lmanubens opened this issue Nov 27, 2018 · 5 comments

Comments

@lmanubens
Copy link

Hi Marcel,

In t2n_Tutorial.m, when calling t2n_FIplot (lines 50 and 71) and t2n_plotbAP (lines 78 and 197) the function FontResizer is not found.

I'm using Matlab 2014b because it's the only distribution I can use with my institution's license. By commenting those lines out all the tutorial code runs smoothly :)

Best!

@MarcelBeining
Copy link
Owner

MarcelBeining commented Nov 27, 2018

Hi Linus,
though I apologize for having problems with T2N, I like your motivation to go through it all and to dig into problems before reporting them :-)
Concerning your issue, I guess if you go to the T2N folder under src/masterplotter that folder (which should contain the functions that are missing) is empty, right? This is because it is a git submodule of T2N and unfortunately git submodules have to be fetched separately when cloning a repository.
Use a command line terminal and cd to the T2N main folder. Then do
git submodule update --init --recursive
Afterwards the src/masterplotter folder should not be empty anymore.
If you do not have any git software installed, you need to install one first (e.g. https://gitforwindows.org/ for Windows, make sure to activate the checkbox saying to add git to the Windows PATH such that the git command is found from the command line)

I have included a note in the Documentation and found a way to initialize the submodules programmatically when running the t2n_runthisAfterUnzip.m file after installation.

@MarcelBeining
Copy link
Owner

I assume that the issue is solved, otherwise please reopen it.

@neuroptics
Copy link

neuroptics commented May 28, 2019

I am also having this issue, following the above instructions produces an error:
"fatal: not a git repository (or any of the parent directories): .git"

I tried running git using t2n_runthisAfterUnzip.m and also from the command line, both produce the same error. The main T2N folder contains ".gitattributes", ".gitignore", and ".gitmodules", but no ".git" files. Not sure what is missing.

I added masterplotter manually and it fixed the issue described above.

@MarcelBeining
Copy link
Owner

MarcelBeining commented May 28, 2019

@neuroptics Sounds like you did not download T2N using a git software but simply by downloading the zip or so, right? Clone the repo using git, will make a lot of things easier including getting the newest updates :-)

@neuroptics
Copy link

@MarcelBeining Thanks, I will. I'm new to git as well, but I'm starting to see the advantages of well organized version control.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants